public class PathGeometry extends Object
The path geometry. A PathGeometry element contains a set of path figures specified either with the Figures attribute or with a child PathFigure element. Producers MUST NOT specify the path figures of a geometry with both the Figures attribute and a child PathFigure element.
| Constructor and Description |
|---|
PathGeometry()
Initializes a new instance of the
PathGeometry class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFigures()
Gets or sets the figures.
|
String |
getFillRule()
Gets or sets the fill rule.
|
PathFigure[] |
getPathFigure()
Gets or sets the path figure.
|
Transform |
getPathGeometryTransform()
Gets or sets the path geometry transform.
|
String |
getTransform()
Gets or sets the transform.
|
void |
setFigures(String value)
Gets or sets the figures.
|
void |
setFillRule(String value)
Gets or sets the fill rule.
|
void |
setPathFigure(PathFigure[] value)
Gets or sets the path figure.
|
void |
setPathGeometryTransform(Transform value)
Gets or sets the path geometry transform.
|
void |
setTransform(String value)
Gets or sets the transform.
|
public PathGeometry()
Initializes a new instance of the PathGeometry class.
public final Transform getPathGeometryTransform()
Gets or sets the path geometry transform. Specifies 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 final void setPathGeometryTransform(Transform value)
Gets or sets the path geometry transform. Specifies 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 final PathFigure[] getPathFigure()
Gets or sets the path figure. Specifies a set of one or more segment elements defining a closed region.
public final void setPathFigure(PathFigure[] value)
Gets or sets the path figure. Specifies a set of one or more segment elements defining a closed region.
public final String getFigures()
Gets or sets the figures. Describes the geometry of the path.
public final void setFigures(String value)
Gets or sets the figures. Describes the geometry of the path.
public final String getFillRule()
Gets or sets the fill rule. Specifies how the intersecting areas of geometric shapes are combined to form a region. Valid values are EvenOdd and NonZero.
public final void setFillRule(String value)
Gets or sets the fill rule. Specifies how the intersecting areas of geometric shapes are combined to form a region. Valid values are EvenOdd and NonZero.
public final String getTransform()
Gets or sets the transform. Specifies 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 final void setTransform(String value)
Gets or sets the transform. Specifies 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.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.