XpsPathGeometry

Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsArray

All Implemented Interfaces: com.aspose.xps.ITransformableProperty

public final class XpsPathGeometry extends XpsArray<XpsPathFigure> implements ITransformableProperty

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.

Methods

MethodDescription
add(T obj)Adds a new object into array.
addSegment(XpsPathSegment segment)Adds a path segment to the list of child segments of the last pah figure.
deepClone()Clones this path geometry.
equals(Object arg0)
get(int i)Provides access to array’s element by index i .
getClass()
getFillRule()Returns the value specifying how the intersecting areas of geometric shapes are combined to form a region.
getPathFigures()Returns the list of child path figures.
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.
hashCode()
insert(int index, T obj)Inserts a new object into array at specified position.
insertSegment(int index, XpsPathSegment segment)Inserts a path segment to the list of child segments of the last path figure at index position.
notify()
notifyAll()
remove(T obj)Removes an object from array.
removeAt(int index)Removes an object from array at specified position.
removeSegment(XpsPathSegment segment)Removes a path segment from the list of child segments of the last path figure.
removeSegmentAt(int index)Removes a path segment from the list of child segments of the last path figure at index position.
setFillRule(XpsFillRule value)Sets the value specifying how the intersecting areas of geometric shapes are combined to form a region.
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.
size()Returns number of elements.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

add(T obj)

public T add(T obj)

Adds a new object into array.

Parameters:

ParameterTypeDescription
objTThe object to add.

Returns: T - Added object.

addSegment(XpsPathSegment segment)

public XpsPathSegment addSegment(XpsPathSegment segment)

Adds a path segment to the list of child segments of the last pah figure.

Parameters:

ParameterTypeDescription
segmentXpsPathSegmentThe path segment to be added.

Returns: XpsPathSegment - Added path segment.

deepClone()

public XpsPathGeometry deepClone()

Clones this path geometry.

Returns: XpsPathGeometry - Clone of this path geometry.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int i)

public T get(int i)

Provides access to array’s element by index i .

Parameters:

ParameterTypeDescription
iintIndex of the element.

Returns: T - The element at i position.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFillRule()

public XpsFillRule getFillRule()

Returns the value specifying how the intersecting areas of geometric shapes are combined to form a region.

Returns: XpsFillRule - The value specifying how the intersecting areas of geometric shapes are combined to form a region.

getPathFigures()

public List<XpsPathFigure> getPathFigures()

Returns the list of child path figures.

Returns: java.util.List<com.aspose.xps.XpsPathFigure> - The list of child path figures.

getTransform()

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.

Returns: XpsMatrix - The affine transformation matrix.

hashCode()

public native int hashCode()

Returns: int

insert(int index, T obj)

public T insert(int index, T obj)

Inserts a new object into array at specified position.

Parameters:

ParameterTypeDescription
indexintThe position to insert an object at.
objTThe object to insert.

Returns: T - Inserted object.

insertSegment(int index, XpsPathSegment segment)

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.

Parameters:

ParameterTypeDescription
indexintPosition at which a segment should be inserted.
segmentXpsPathSegmentA path segment to be inserted.

Returns: XpsPathSegment - Inserted path segment.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(T obj)

public T remove(T obj)

Removes an object from array.

Parameters:

ParameterTypeDescription
objTThe object to remove.

Returns: T - Removed object.

removeAt(int index)

public T removeAt(int index)

Removes an object from array at specified position.

Parameters:

ParameterTypeDescription
indexintThe position to remove an object at.

Returns: T - Removed object.

removeSegment(XpsPathSegment segment)

public XpsPathSegment removeSegment(XpsPathSegment segment)

Removes a path segment from the list of child segments of the last path figure.

Parameters:

ParameterTypeDescription
segmentXpsPathSegmentThe path segment to be removed.

Returns: XpsPathSegment - Removed path segment.

removeSegmentAt(int index)

public XpsPathSegment removeSegmentAt(int index)

Removes a path segment from the list of child segments of the last path figure at index position.

Parameters:

ParameterTypeDescription
indexintPosition at which a path segment should be removed.

Returns: XpsPathSegment - Removed path segment.

setFillRule(XpsFillRule value)

public void setFillRule(XpsFillRule value)

Sets the value specifying how the intersecting areas of geometric shapes are combined to form a region.

Parameters:

ParameterTypeDescription
valueXpsFillRuleThe value specifying how the intersecting areas of geometric shapes are combined to form a region.

setTransform(XpsMatrix value)

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.

Parameters:

ParameterTypeDescription
valueXpsMatrixThe affine transformation matrix.

size()

public int size()

Returns number of elements.

Returns: int - The number of elements.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int