public final class XpsPathGeometry extends XpsArray<XpsPathFigure>
Class incapsulating PathGeometry property element features. This element contains a set of path figures specified either with the Figures attribute or with a child PathFigure element.
Modifier and Type | Method and Description |
---|---|
XpsPathSegment |
addSegment(XpsPathSegment segment)
Adds a path segment to the list of child segments of the last pah figure.
|
XpsPathGeometry |
deepClone()
Clones this path geometry.
|
XpsFillRule |
getFillRule()
Returns the value specifying how the intersecting areas of geometric
shapes are combined to form a region.
|
List<XpsPathFigure> |
getPathFigures()
Returns the list of child path figures.
|
XpsMatrix |
getTransform()
Returns the affine transformation matrix establishing the local matrix transformation
that is applied to all child and descendant elements of the path geometry before it is used
for filling, clipping, or stroking.
|
XpsPathSegment |
insertSegment(int index,
XpsPathSegment segment)
Inserts a path segment to the list of child segments of
the last path figure at
index position. |
XpsPathSegment |
removeSegment(XpsPathSegment segment)
Removes a path segment from the list of child segments of the last path figure.
|
XpsPathSegment |
removeSegmentAt(int index)
Removes a path segment from the list of child segments of
the last path figure at
index position. |
void |
setFillRule(XpsFillRule value)
Sets the value specifying how the intersecting areas of geometric
shapes are combined to form a region.
|
void |
setTransform(XpsMatrix value)
Sets the affine transformation matrix establishing the local matrix transformation
that is applied to all child and descendant elements of the path geometry before it is used
for filling, clipping, or stroking.
|
public XpsFillRule getFillRule()
Returns the value specifying how the intersecting areas of geometric shapes are combined to form a region.
public void setFillRule(XpsFillRule value)
Sets the value specifying how the intersecting areas of geometric shapes are combined to form a region.
value
- The value specifying how the intersecting areas of geometric
shapes are combined to form a region.
public XpsMatrix getTransform()
Returns the affine transformation matrix establishing the local matrix transformation that is applied to all child and descendant elements of the path geometry before it is used for filling, clipping, or stroking.
public void setTransform(XpsMatrix value)
Sets the affine transformation matrix establishing the local matrix transformation that is applied to all child and descendant elements of the path geometry before it is used for filling, clipping, or stroking.
value
- The affine transformation matrix.public List<XpsPathFigure> getPathFigures()
Returns the list of child path figures.
public XpsPathSegment addSegment(XpsPathSegment segment)
Adds a path segment to the list of child segments of the last pah figure.
segment
- The path segment to be added.public XpsPathSegment insertSegment(int index, XpsPathSegment segment)
Inserts a path segment to the list of child segments of
the last path figure at index
position.
index
- Position at which a segment should be inserted.segment
- A path segment to be inserted.public XpsPathSegment removeSegment(XpsPathSegment segment)
Removes a path segment from the list of child segments of the last path figure.
segment
- The path segment to be removed.public XpsPathSegment removeSegmentAt(int index)
Removes a path segment from the list of child segments of
the last path figure at index
position.
index
- Position at which a path segment should be removed.public XpsPathGeometry deepClone()
Clones this path geometry.
Copyright © 2022 Aspose. All Rights Reserved.