SVGGraphicsElement
abstract class SVGGraphicsElement : SVGElement, SVGTests
Exposes the JavaScript SVGGraphicsElement to Kotlin
Constructors
<init>
Exposes the JavaScript SVGGraphicsElement to Kotlin
SVGGraphicsElement()
Properties
transform
open val transform: SVGAnimatedTransformList
Functions
getBBox
fun getBBox(
options: SVGBoundingBoxOptions = definedExternally
): DOMRect
getScreenCTM
fun getScreenCTM(): DOMMatrix?
Companion Object Properties
ATTRIBUTE_NODE
val ATTRIBUTE_NODE: Short
CDATA_SECTION_NODE
val CDATA_SECTION_NODE: Short
COMMENT_NODE
val COMMENT_NODE: Short
DOCUMENT_FRAGMENT_NODE
val DOCUMENT_FRAGMENT_NODE: Short
DOCUMENT_NODE
val DOCUMENT_NODE: Short
DOCUMENT_POSITION_CONTAINED_BY
val DOCUMENT_POSITION_CONTAINED_BY: Short
DOCUMENT_POSITION_CONTAINS
val DOCUMENT_POSITION_CONTAINS: Short
DOCUMENT_POSITION_DISCONNECTED
val DOCUMENT_POSITION_DISCONNECTED: Short
DOCUMENT_POSITION_FOLLOWING
val DOCUMENT_POSITION_FOLLOWING: Short
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
val DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: Short
DOCUMENT_POSITION_PRECEDING
val DOCUMENT_POSITION_PRECEDING: Short
DOCUMENT_TYPE_NODE
val DOCUMENT_TYPE_NODE: Short
ELEMENT_NODE
val ELEMENT_NODE: Short
ENTITY_NODE
val ENTITY_NODE: Short
ENTITY_REFERENCE_NODE
val ENTITY_REFERENCE_NODE: Short
NOTATION_NODE
val NOTATION_NODE: Short
PROCESSING_INSTRUCTION_NODE
val PROCESSING_INSTRUCTION_NODE: Short
TEXT_NODE
val TEXT_NODE: Short
Extension Properties
Extension Functions
addClass
Adds CSS class to element. Has no effect if all specified classes are already in class attribute of the element
fun Element.addClass(vararg cssClasses: String): Boolean
hasClass
Returns true if the element has the given CSS class style in its 'class' attribute
fun Element.hasClass(cssClass: String): Boolean
removeClass
Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element
fun Element.removeClass(vararg cssClasses: String): Boolean
Inheritors
SVGAElement
Exposes the JavaScript SVGAElement to Kotlin
abstract class SVGAElement :
SVGGraphicsElement,
SVGURIReference
SVGDefsElement
Exposes the JavaScript SVGDefsElement to Kotlin
abstract class SVGDefsElement : SVGGraphicsElement
SVGForeignObjectElement
Exposes the JavaScript SVGForeignObjectElement to Kotlin
abstract class SVGForeignObjectElement : SVGGraphicsElement
SVGGElement
Exposes the JavaScript SVGGElement to Kotlin
abstract class SVGGElement : SVGGraphicsElement
SVGGeometryElement
Exposes the JavaScript SVGGeometryElement to Kotlin
abstract class SVGGeometryElement : SVGGraphicsElement
SVGImageElement
Exposes the JavaScript SVGImageElement to Kotlin
abstract class SVGImageElement :
SVGGraphicsElement,
SVGURIReference,
HTMLOrSVGImageElement
SVGSVGElement
Exposes the JavaScript SVGSVGElement to Kotlin
abstract class SVGSVGElement :
SVGGraphicsElement,
SVGFitToViewBox,
SVGZoomAndPan,
WindowEventHandlers
SVGSwitchElement
Exposes the JavaScript SVGSwitchElement to Kotlin
abstract class SVGSwitchElement : SVGGraphicsElement
SVGSymbolElement
Exposes the JavaScript SVGSymbolElement to Kotlin
abstract class SVGSymbolElement :
SVGGraphicsElement,
SVGFitToViewBox
SVGTextContentElement
Exposes the JavaScript SVGTextContentElement to Kotlin
abstract class SVGTextContentElement : SVGGraphicsElement
SVGUnknownElement
abstract class SVGUnknownElement : SVGGraphicsElement
SVGUseElement
Exposes the JavaScript SVGUseElement to Kotlin
abstract class SVGUseElement :
SVGGraphicsElement,
SVGURIReference