XpsCanvas class
XpsCanvas class
Class incapsulating Canvas element features. This element groups elements together. For example, Glyphs and Path elements can be grouped in a canvas in order to be identified as a unit (as a hyperlink destination) or to apply a composed property value to each child and ancestor element.
Inheritance: XpsCanvas
→
XpsContentElement
→
XpsHyperlinkElement
→
XpsElement
→
XpsObject
The XpsCanvas type exposes the following members:
Properties
Property | Description |
---|---|
count | Returns number of child elements. |
hyperlink_target | Returns/sets hyperlink target object. |
render_transform | Returns/sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any). |
clip | Returns/sets the path geometry instance limiting the rendered region of the element. |
opacity | Returns/sets the value defining the uniform transparency of the element. |
opacity_mask | Returns/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. |
edge_mode | Returns/sets the value that controls how edges of paths within the canvas are rendered. |
Indexer
Name | Description |
---|---|
[index] |
Methods
Method | Description |
---|---|
add_canvas | Adds a new canvas to this canvas’s child list. |
insert_canvas | Inserts a new canvas to this canvas’s child list at index position. |
add_path | Adds a new path to this canvas’s child list. |
insert_path | Inserts a new path to this canvas’s child list at index position. |
add_glyphs | Adds new glyphs to this canvas’s child list. |
insert_glyphs | Inserts new glyphs to this canvas’s child list at index position. |
clone | Clones this canvas. |
See Also
- module
aspose.page.xps.xpsmodel
- class
XpsCanvas
- class
XpsContentElement
- class
XpsElement
- class
XpsHyperlinkElement
- class
XpsObject