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
pointsIReadOnlyList<GeoPoint2>The chain, in pixels from the snap point, X to the right and Y down; copied.
closedboolWhether the chain closes back to its first point.
dottedboolWhether the stroke is drawn dotted.
filledboolWhether the stroke is filled.
Exceptions
- ArgumentNullException
Thrown when the points are null.