bindings/geometry_1 library
Geometry Interfaces Module Level 1
Classes
- DOMMatrix
-
The interface represents 4×4 matrices, suitable for 2D and 3D
operations including rotation and translation. It is a mutable
version of the DOMMatrixReadOnly interface.
WebKitCSSMatrix
is an alias to . This interface should be available inside web workers, though some implementations don't allow it yet. - DOMMatrix2DInit
- DOMMatrixInit
- DOMMatrixReadOnly
- The interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations. The DOMMatrix interface — which is based upon —adds mutability, allowing you to alter the matrix after creating it. This interface should be available inside web workers, though some implementations doesn't allow it yet.
- DOMPoint
- A 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. is based on DOMPointReadOnly but allows its properties' values to be changed. In general, a positive x component represents a position to the right of the origin, a positive y component is downward from the origin, and a positive z component extends outward from the screen (in other words, toward the user).
- DOMPointInit
- DOMPointReadOnly
- The interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system. Note: This feature is available in Web Workers
- DOMQuad
-
Experimental: This is an experimental technologyCheck the
Browser compatibility table carefully before using this in
production.
A is a collection of four DOMPoints defining the corners of an
arbitrary quadrilateral. Returning s lets
getBoxQuads()
return accurate information even when arbitrary 2D or 3D transforms are present. It has a handybounds
attribute returning a DOMRectReadOnly for those cases where you just want an axis-aligned bounding rectangle. - DOMQuadInit
- DOMRect
-
A describes the size and position of a rectangle.
The type of box represented by the is specified by the method or
property that returned it. For example,
VREyeParameters.renderRect
from the WebVR API specifies the viewport of a canvas into which visuals for one eye of a head mounted display should be rendered. It inherits from its parent, DOMRectReadOnly. - DOMRectInit
- DOMRectList
- DOMRectReadOnly
- The interface specifies the standard properties used by DOMRect to define a rectangle whose properties are immutable.
Extensions
- PropsDOMMatrix on DOMMatrix
- PropsDOMMatrix2DInit on DOMMatrix2DInit
- PropsDOMMatrixInit on DOMMatrixInit
- PropsDOMMatrixReadOnly on DOMMatrixReadOnly
- PropsDOMPoint on DOMPoint
- PropsDOMPointInit on DOMPointInit
- PropsDOMPointReadOnly on DOMPointReadOnly
- PropsDOMQuad on DOMQuad
- PropsDOMQuadInit on DOMQuadInit
- PropsDOMRect on DOMRect
- PropsDOMRectInit on DOMRectInit
- PropsDOMRectList on DOMRectList
- PropsDOMRectReadOnly on DOMRectReadOnly