XpsContentElement

Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsElement, com.aspose.xps.XpsHyperlinkElement

public abstract class XpsContentElement extends XpsHyperlinkElement

Incapsulates features of XPS content elements: Canvas, Path and Glyphs.

Methods

MethodDescription
equals(Object arg0)
get(int i)Provides access to element’s children by index i .
getClass()
getClip()Returns the path geometry limiting the rendered region of the element.
getHyperlinkTarget()Returns hyperlink target object.
getOpacity()Returns the value defining the uniform transparency of the element.
getOpacityMask()Returns the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.
getRenderTransform()Returns the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).
hashCode()
iterator()Implementation of Iterable interface.
notify()
notifyAll()
setClip(XpsPathGeometry value)Sets the path geometry limiting the rendered region of the element.
setHyperlinkTarget(XpsHyperlinkTarget value)Sets hyperlink target object.
setOpacity(float value)Sets the value defining the uniform transparency of the element.
setOpacityMask(XpsBrush value)Sets the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.
setRenderTransform(XpsMatrix value)Sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).
size()Returns the number of child elements.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int i)

public XpsContentElement get(int i)

Provides access to element’s children by index i .

Parameters:

ParameterTypeDescription
iintIndex of child element.

Returns: XpsContentElement - Child element at i position.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getClip()

public XpsPathGeometry getClip()

Returns the path geometry limiting the rendered region of the element.

Returns: XpsPathGeometry - The path geometry limiting the rendered region of the element.

getHyperlinkTarget()

public XpsHyperlinkTarget getHyperlinkTarget()

Returns hyperlink target object.

Returns: XpsHyperlinkTarget - Hyperlink target object.

getOpacity()

public float getOpacity()

Returns the value defining the uniform transparency of the element.

Returns: float - The value defining the uniform transparency of the element.

getOpacityMask()

public XpsBrush getOpacityMask()

Returns the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.

Returns: XpsBrush - The brush specifying a mask.

getRenderTransform()

public XpsMatrix getRenderTransform()

Returns the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).

Returns: XpsMatrix - The affine transformation matrix.

hashCode()

public native int hashCode()

Returns: int

iterator()

public Iterator<XpsContentElement> iterator()

Implementation of Iterable interface.

Returns: java.util.Iterator<com.aspose.xps.XpsContentElement> - Returns enumerator for the list.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setClip(XpsPathGeometry value)

public void setClip(XpsPathGeometry value)

Sets the path geometry limiting the rendered region of the element.

Parameters:

ParameterTypeDescription
valueXpsPathGeometryThe path geometry limiting the rendered region of the element.

setHyperlinkTarget(XpsHyperlinkTarget value)

public void setHyperlinkTarget(XpsHyperlinkTarget value)

Sets hyperlink target object.

Parameters:

ParameterTypeDescription
valueXpsHyperlinkTargetHyperlink target object.

setOpacity(float value)

public void setOpacity(float value)

Sets the value defining the uniform transparency of the element.

Parameters:

ParameterTypeDescription
valuefloatThe value defining the uniform transparency of the element.

setOpacityMask(XpsBrush value)

public void setOpacityMask(XpsBrush value)

Sets the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element.

Parameters:

ParameterTypeDescription
valueXpsBrushThe brush specifying a mask.

setRenderTransform(XpsMatrix value)

public void setRenderTransform(XpsMatrix value)

Sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any).

Parameters:

ParameterTypeDescription
valueXpsMatrixThe affine transformation matrix.

size()

public int size()

Returns the number of child elements.

Returns: int - The number of child 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