CSSPerspective extension type

The CSSPerspective interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.


API documentation sourced from MDN Web Docs.

on
Implemented types
Available extensions

Constructors

CSSPerspective(CSSPerspectiveValue length)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
is2D bool
The is2D read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.
getter/setter pairinherited
length CSSPerspectiveValue
The length property of the CSSPerspective interface sets the distance from z=0.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMatrix() DOMMatrix
The toMatrix() method of the CSSTransformComponent interface returns a DOMMatrix object.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited