Click or drag to resize

HatchPatternCreatePreviewGeometry Method

Creates preview line segments of the hatch pattern.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.8
Syntax
public Line[] CreatePreviewGeometry(
	int width,
	int height,
	double angle
)

Parameters

width
Type: SystemInt32
The width of the preview.
height
Type: SystemInt32
The height of the preview.
angle
Type: SystemDouble
The rotation angle of the pattern display in radians.

Return Value

Type: Line
The preview line segments if successful, an empty array on failure.
See Also