public class XpsPathFigure extends XpsArray<XpsPathSegment>
Class incapsulating PathFigure element features. This element is composed of a set of one or more line or curve segments.
Modifier and Type | Method and Description |
---|---|
XpsPathFigure |
deepClone()
Clones this path figure.
|
List<XpsPathSegment> |
getSegments()
Return the list of child path segments.
|
Point2D |
getStartPoint()
Returns the starting point for the first segment of the path figure.
|
boolean |
isClosed()
Returns the value indicating whether the path figure is closed.
|
boolean |
isFilled()
Returns the value indicating whether the path figure is used in computing
the area of the containing path geometry.
|
void |
setClosed(boolean value)
Sets the value indicating whether the path figure is closed.
|
void |
setFilled(boolean value)
Sets the value indicating whether the path figure is used in computing
the area of the containing path geometry.
|
void |
setStartPoint(Point2D value)
Sets the starting point for the first segment of the path figure.
|
public List<XpsPathSegment> getSegments()
Return the list of child path segments.
public boolean isClosed()
Returns the value indicating whether the path figure is closed.
public void setClosed(boolean value)
Sets the value indicating whether the path figure is closed.
value
- The value indicating whether the path figure is closed.public Point2D getStartPoint()
Returns the starting point for the first segment of the path figure.
public void setStartPoint(Point2D value)
Sets the starting point for the first segment of the path figure.
value
- The starting point for the first segment of the path figure.public boolean isFilled()
Returns the value indicating whether the path figure is used in computing the area of the containing path geometry.
public void setFilled(boolean value)
Sets the value indicating whether the path figure is used in computing the area of the containing path geometry.
value
- The value indicating whether the path figure is used in computing
the area of the containing path geometry.public XpsPathFigure deepClone()
Clones this path figure.
Copyright © 2020 Aspose. All Rights Reserved.