Click or drag to resize

DrawingUtilitiesCreateCurvePreviewGeometry Method

Create a series of closed polyline loops representing a curve and a linetype combination.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static List<Point2f[]> CreateCurvePreviewGeometry(
	Curve curve,
	Linetype linetype,
	int width,
	int height
)

Parameters

curve
Type: Rhino.GeometryCurve

[Missing <param name="curve"/> documentation for "M:Rhino.UI.DrawingUtilities.CreateCurvePreviewGeometry(Rhino.Geometry.Curve,Rhino.DocObjects.Linetype,System.Int32,System.Int32)"]

linetype
Type: Rhino.DocObjectsLinetype

[Missing <param name="linetype"/> documentation for "M:Rhino.UI.DrawingUtilities.CreateCurvePreviewGeometry(Rhino.Geometry.Curve,Rhino.DocObjects.Linetype,System.Int32,System.Int32)"]

width
Type: SystemInt32

[Missing <param name="width"/> documentation for "M:Rhino.UI.DrawingUtilities.CreateCurvePreviewGeometry(Rhino.Geometry.Curve,Rhino.DocObjects.Linetype,System.Int32,System.Int32)"]

height
Type: SystemInt32

[Missing <param name="height"/> documentation for "M:Rhino.UI.DrawingUtilities.CreateCurvePreviewGeometry(Rhino.Geometry.Curve,Rhino.DocObjects.Linetype,System.Int32,System.Int32)"]

Return Value

Type: ListPoint2f

[Missing <returns> documentation for "M:Rhino.UI.DrawingUtilities.CreateCurvePreviewGeometry(Rhino.Geometry.Curve,Rhino.DocObjects.Linetype,System.Int32,System.Int32)"]

See Also