Initializes a new instance of the CustomGeometry class.
The markup string.
The transformation matrix.
Gets or sets the markup string
Gets or sets a geometries transformation matrix. The default value is the identity transform.
Returns the bounding box of the geometry.
Returns the geometry that is defined by the specified geometry description.
The geometry description.
Returns the geometry that is defined by the specified geometry description.
The geometry description.
Returns the bounding box of the specified geometry.
The geometry to measure.
Generated using TypeDoc
Describes a path geometry, that is defined by a markup string.
Use the following markup to define the geometry:
M p
p
Start pointPathFigure
A r a l s p
r
Radius x,ya
Anglel
IsLargeArc (1 = true, 0 = false)s
Sweep direction (0 = clockwise, 1 = counterclockwise)p
End pointArcSegment
L p
p
End pointLineSegment
C c1 c2 p
c1
First control pointc2
Second control pointp
End pointCubicBezierSegment
Q c p
c
Control pointp
End pointQuadraticBezierSegment
Z
Points are written in the form of
x,y
, wherex
andy
are either invariant floating point numbers (0.0
) or integers.