GeometryUtils

external interface GeometryUtils (source)

Platform and version requirements: JS

Exposes the JavaScript GeometryUtils to Kotlin

Functions

convertPointFromNode

abstract fun convertPointFromNode(
    point: DOMPointInit,
    from: dynamic,
    options: ConvertCoordinateOptions = definedExternally
): DOMPoint

convertQuadFromNode

abstract fun convertQuadFromNode(
    quad: dynamic,
    from: dynamic,
    options: ConvertCoordinateOptions = definedExternally
): DOMQuad

convertRectFromNode

abstract fun convertRectFromNode(
    rect: DOMRectReadOnly,
    from: dynamic,
    options: ConvertCoordinateOptions = definedExternally
): DOMQuad

getBoxQuads

abstract fun getBoxQuads(
    options: BoxQuadOptions = definedExternally
): Array<DOMQuad>

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.

Inheritors

Document

open external class Document : 
    Node,
    GlobalEventHandlers,
    DocumentAndElementEventHandlers,
    NonElementParentNode,
    DocumentOrShadowRoot,
    ParentNode,
    GeometryUtils

Exposes the JavaScript Document to Kotlin

Element

abstract external class Element : 
    Node,
    ParentNode,
    NonDocumentTypeChildNode,
    ChildNode,
    Slotable,
    GeometryUtils,
    UnionElementOrProcessingInstruction,
    UnionElementOrHTMLCollection,
    UnionElementOrRadioNodeList,
    UnionElementOrMouseEvent

Exposes the JavaScript Element to Kotlin

Text

open external class Text : 
    CharacterData,
    Slotable,
    GeometryUtils

Exposes the JavaScript Text to Kotlin