Table of Contents

Constructor CadMarkerStroke

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CadMarkerStroke(IReadOnlyList<GeoPoint2>, bool, bool, bool)

Makes a stroke, as a plugin draws the glyph of its object snap with (Glyph): a triangle pointing up, 9 across, is (-4.5, 4.5) (4.5, 4.5) (0, -4.5) closed.

public CadMarkerStroke(IReadOnlyList<GeoPoint2> points, bool closed, bool dotted = false, bool filled = false)

Parameters

points IReadOnlyList<GeoPoint2>

The chain, in pixels from the snap point, X to the right and Y down; copied.

closed bool

Whether the chain closes back to its first point.

dotted bool

Whether the stroke is drawn dotted.

filled bool

Whether the stroke is filled.

Exceptions

ArgumentNullException

Thrown when the points are null.