public abstract class XpsContentElement extends XpsHyperlinkElement
Incapsulates features of XPS content elements: Canvas, Path and Glyphs.
Modifier and Type | Method and Description |
---|---|
XpsPathGeometry |
getClip()
Returns the path geometry limiting the rendered region of the element.
|
float |
getOpacity()
Returns the value defining the uniform transparency of the element.
|
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.
|
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).
|
void |
setClip(XpsPathGeometry value)
Sets the path geometry limiting the rendered region of the element.
|
void |
setOpacity(float value)
Sets the value defining the uniform transparency of the element.
|
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.
|
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).
|
getHyperlinkTarget, setHyperlinkTarget
get, iterator, size
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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).
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).
value
- The affine transformation matrix.public XpsPathGeometry getClip()
Returns the path geometry limiting the rendered region of the element.
public void setClip(XpsPathGeometry value)
Sets the path geometry limiting the rendered region of the element.
value
- The path geometry limiting the rendered region of the element.public float getOpacity()
Returns the value defining the uniform transparency of the element.
public void setOpacity(float value)
Sets the value defining the uniform transparency of the element.
value
- The value defining the uniform transparency of the element.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.
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.
value
- The brush specifying a mask.Copyright © 2020 Aspose. All Rights Reserved.