Class CadMarkerStroke
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
A stroke of a snap marker: a chain of points in pixels about the snap point, X to the right and Y down as the screen has them, drawn open or closed, solid or dotted, or filled.
public sealed class CadMarkerStroke
- Inheritance
-
CadMarkerStroke
- Inherited Members
Constructors
- 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.
Properties
- IsClosed
Gets whether the chain closes back to its first point.
- IsDotted
Gets whether the stroke is drawn dotted, as the line of an extension.
- IsFilled
Gets whether the stroke is filled, as the dot of a geometric centre.
- Points
Gets the points, in pixels from the snap point.