@DOMObjectAttribute @DOMNameAttribute(name="SVGGraphicsElement") public class SVGGraphicsElement extends SVGElement implements ISVGTests
The SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.
SVGElement
,
ISVGTests
Node.Flags
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, parent, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged, PropertyChangedDelegate
Constructor and Description |
---|
SVGGraphicsElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
SVGGraphicsElement class. |
Modifier and Type | Method and Description |
---|---|
SVGRect |
getBBox()
Returns the tight bounding box in current user space (i.e., after application of the 'transform’ attribute, if any) on the geometry of all contained graphics elements, exclusive of stroking, clipping, masking and filter effects).
|
SVGMatrix |
getCTM()
Returns the transformation matrix from current user units (i.e., after application of the 'transform’ attribute, if any) to the viewport coordinate system for the nearestViewportElement.
|
SVGElement |
getFarthestViewportElement()
The farthest ancestor 'svg’ element.
|
SVGElement |
getNearestViewportElement()
The element which established the current viewport.
|
SVGStringList |
getRequiredExtensions()
Corresponds to attribute 'requiredExtensions’ on the given element.
|
SVGStringList |
getRequiredFeatures()
Corresponds to attribute 'requiredFeatures’ on the given element.
|
SVGMatrix |
getScreenCTM()
Returns the transformation matrix from current user units (i.e., after application of the 'transform’ attribute, if any) to the parent user agent's notice of a "pixel".
|
SVGStringList |
getSystemLanguage()
Corresponds to attribute 'systemLanguage’ on the given element.
|
SVGAnimatedTransformList |
getTransform()
Corresponds to attribute 'transform’ on the given element.
|
addSVGAttributeBinding, blur, focus, getClassName_SVGElement_New, getId_SVGElement_New, getOwnerSVGElement, getStyle, getSVGAttributeBindings, getSVGContext, getTabIndex, getViewportElement, isReadOnly, isRendered, setId_SVGElement_New, setTabIndex
attachShadow, dispose, equals, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassName, getComputedStyle, getComputedStyle, getData, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNodeName, getNodeType, getOuterHTML, getPrefix, getPreviousElementSibling, getSchemaTypeInfo, getShadowRoot, getStyleContainer, getTag, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setData, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOuterHTML, setTextContent
adoptNode, appendChild, cloneNode, deepClone, finalize, getBaseURI, getChildNodes, getChildNodesInternal, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setLocalName, setNamespaceURI, setNodeValue, setParentNode, setPrefix, toString
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public SVGGraphicsElement(com.aspose.html.dom.DOMName name, Document doc)
Initializes a new instance of the SVGGraphicsElement
class.
name
- The element name.doc
- The document.@DOMNameAttribute(name="nearestViewportElement") public SVGElement getNearestViewportElement()
The element which established the current viewport. Often, the nearest ancestor 'svg’ element. Null if the current element is the outermost svg element.
Value: The nearest viewport element.@DOMNameAttribute(name="farthestViewportElement") public SVGElement getFarthestViewportElement()
The farthest ancestor 'svg’ element. Null if the current element is the outermost svg element.
Value: The farthest viewport element.@DOMNameAttribute(name="getBBox") public SVGRect getBBox()
Returns the tight bounding box in current user space (i.e., after application of the 'transform’ attribute, if any) on the geometry of all contained graphics elements, exclusive of stroking, clipping, masking and filter effects). Note that getBBox must return the actual bounding box at the time the method was called, even in case the element has not yet been rendered.
@DOMNameAttribute(name="getCTM") public SVGMatrix getCTM()
Returns the transformation matrix from current user units (i.e., after application of the 'transform’ attribute, if any) to the viewport coordinate system for the nearestViewportElement.
@DOMNameAttribute(name="getScreenCTM") public SVGMatrix getScreenCTM()
Returns the transformation matrix from current user units (i.e., after application of the 'transform’ attribute, if any) to the parent user agent's notice of a "pixel". For display devices, ideally this represents a physical screen pixel. For other devices or environments where physical pixel sizes are not known, then an algorithm similar to the CSS2 definition of a "pixel" can be used instead. Note that null is returned if this element is not hooked into the document tree. This method would have been more aptly named as getClientCTM, but the name getScreenCTM is kept for historical reasons.
@DOMNameAttribute(name="transform") public SVGAnimatedTransformList getTransform()
Corresponds to attribute 'transform’ on the given element.
Value: The element transform.public SVGStringList getRequiredFeatures()
Corresponds to attribute 'requiredFeatures’ on the given element.
Value: The required features.getRequiredFeatures
in interface ISVGTests
public SVGStringList getRequiredExtensions()
Corresponds to attribute 'requiredExtensions’ on the given element.
Value: The required extensions.getRequiredExtensions
in interface ISVGTests
public SVGStringList getSystemLanguage()
Corresponds to attribute 'systemLanguage’ on the given element.
Value: The system language.getSystemLanguage
in interface ISVGTests