Package-level declarations

Types

Link copied to clipboard
open class DOMMatrix(init: String = definedExternally) : DOMMatrixReadOnly, Serializable

The DOMMatrix interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation.

Link copied to clipboard
open class DOMMatrixReadOnly(init: String = definedExternally) : Serializable

The DOMMatrixReadOnly interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations.

Link copied to clipboard
open class DOMPoint(var x: Double = definedExternally, var y: Double = definedExternally, var z: Double = definedExternally, var w: Double = definedExternally) : DOMPointReadOnly, Serializable

A DOMPoint object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value.

Link copied to clipboard
open class DOMPointReadOnly(val x: Double = definedExternally, val y: Double = definedExternally, val z: Double = definedExternally, val w: Double = definedExternally) : Serializable

The DOMPointReadOnly interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.

Link copied to clipboard
open class DOMQuad(p1: DOMPointReadOnly = definedExternally, p2: DOMPointReadOnly = definedExternally, p3: DOMPointReadOnly = definedExternally, p4: DOMPointReadOnly = definedExternally) : Serializable

A DOMQuad is a collection of four DOMPoints defining the corners of an arbitrary quadrilateral.

Link copied to clipboard
open class DOMRect(var x: Double = definedExternally, var y: Double = definedExternally, var width: Double = definedExternally, var height: Double = definedExternally) : DOMRectReadOnly, Serializable

A DOMRect describes the size and position of a rectangle.

Link copied to clipboard

The DOMRectList interface represents a collection of DOMRect objects, typically used to hold the rectangles associated with a particular element, like bounding boxes returned by methods such as Element.getClientRects.

Link copied to clipboard
open class DOMRectReadOnly(val x: Double = definedExternally, val y: Double = definedExternally, val width: Double = definedExternally, val height: Double = definedExternally) : Serializable

The DOMRectReadOnly interface specifies the standard properties (also used by DOMRect) to define a rectangle whose properties are immutable.