Click or drag to resize

DisplayPenFromLinetype Method

Create a display pen that matches a linetype definition

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static DisplayPen FromLinetype(
	Linetype linetype,
	Color color,
	double patternScale
)

Parameters

linetype
Type: Rhino.DocObjectsLinetype

[Missing <param name="linetype"/> documentation for "M:Rhino.Display.DisplayPen.FromLinetype(Rhino.DocObjects.Linetype,System.Drawing.Color,System.Double)"]

color
Type: System.DrawingColor

[Missing <param name="color"/> documentation for "M:Rhino.Display.DisplayPen.FromLinetype(Rhino.DocObjects.Linetype,System.Drawing.Color,System.Double)"]

patternScale
Type: SystemDouble
scale to be applied to linetype dash pattern. Typically this is 1

Return Value

Type: DisplayPen

[Missing <returns> documentation for "M:Rhino.Display.DisplayPen.FromLinetype(Rhino.DocObjects.Linetype,System.Drawing.Color,System.Double)"]

See Also