PathClipNode Class
A clipping node that uses graphics paths to specify a clipping region.
Declaration
public class PathClipNode extends ClipNode
Remarks
The PathClipNode class specifies a clipping region based on one or more GraphicsPath objects. Use the setPaths() method to specify paths that define the clipping boundary.
The setNonZeroWindingRule(boolean value) method specifies the fill rule used to determine the visible area inside clipping paths.
Call the setTransform() method to apply a transformation matrix to clipping paths.
Inherited Members
Inheritance
PathClipNode()
Initializes a new instance of the PathClipNode class.
Declaration
public PathClipNode()
Methods
getNonZeroWindingRule() Method
Returns whether the non-zero winding rule is used to calculate the clipping region.
Declaration
public boolean getNonZeroWindingRule()
Returns
| Type | Description |
|---|---|
| boolean |
|
getPaths() Method
Returns a collection of graphics paths that define the clipping region.
Declaration
public List<GraphicsPath> getPaths()
Returns
| Type | Description |
|---|---|
| java.util.List<GraphicsPath> | Graphic paths. |
getTransform() Method
Returns the transformation matrix applied to the clipping paths.
Declaration
public DXMatrix getTransform()
Returns
| Type | Description |
|---|---|
| DXMatrix | A |
setNonZeroWindingRule(boolean value) Method
Sets whether the non-zero winding rule is used to calculate the clipping region.
Declaration
public void setNonZeroWindingRule(boolean value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | boolean |
|
setPaths(List<GraphicsPath> value) Method
Sets a collection of graphics paths that define the clipping region.
Declaration
public void setPaths(List<GraphicsPath> value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | java.util.List<GraphicsPath> | Graphic paths. |
setTransform(DXMatrix value) Method
Sets the transformation matrix applied to the clipping paths.
Declaration
public void setTransform(DXMatrix value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | DXMatrix | A |