Safari Developer Library

Developer

WebKitCSSTransformValue Class Reference

Options
Deployment Target:

On This Page

WebKitCSSTransformValue

Inheritance


  • CSSValue
  • CSSValueList
  • WebKitCSSTransformValue

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in Safari 4.0 and later.
Available in iOS 2.0 and later.

WebKitCSSTransformValue objects represent one transform function in a CSS transform specified using the -webkit-transform property. The operationType property in this class specifies which function is used. The objects also contain a list of values which are the parameters to the function. The parameters appear in the same order as they appear in the function.

  • operationType Property

    The transform function used. Possible values are described in CSS_MATRIX.

    Declaration

    JavaScript

    readonly attribute unsigned short operationType

    Availability

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

Constants

Constants

  • CSS_MATRIX

    CSS_MATRIX

    Specifies the matrix transform function.

    • const unsigned short CSS_MATRIX = 1;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_MATRIX3D

    CSS_MATRIX3D

    Specifies the matrix3d transform function.

    • const unsigned short CSS_MATRIX3D = 2;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

  • CSS_PERSPECTIVE

    CSS_PERSPECTIVE

    Specifies the perspective transform function.

    • const unsigned short CSS_PERSPECTIVE = 12;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

  • CSS_ROTATE

    CSS_ROTATE

    Specifies the rotate transform function.

    • const unsigned short CSS_ROTATE = 3;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_ROTATE3D

    CSS_ROTATE3D

    Specifies the rotate3d transform function.

    • const unsigned short CSS_ROTATE3D = 4;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

  • CSS_ROTATEX

    CSS_ROTATEX

    Specifies the rotateX transform function.

    • const unsigned short CSS_ROTATEX = 13;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

  • CSS_ROTATEY

    CSS_ROTATEY

    Specifies the rotateY transform function.

    • const unsigned short CSS_ROTATEY = 14;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

  • CSS_ROTATEZ

    CSS_ROTATEZ

    Specifies the rotateZ transform transform function.

    • const unsigned short CSS_ROTATEZ = 15;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

  • CSS_SCALE

    CSS_SCALE

    Specifies the scale transform function.

    • const unsigned short CSS_SCALE = 7;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_SCALE3D

    CSS_SCALE3D

    Specifies the scale3d transform function.

    • const unsigned short CSS_SCALE3D = 8;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

  • CSS_SCALEX

    CSS_SCALEX

    Specifies the scaleX transform function.

    • const unsigned short CSS_SCALEX = 19;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_SCALEY

    CSS_SCALEY

    Specifies the scaleY transform function.

    • const unsigned short CSS_SCALEY = 20;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_SCALEZ

    CSS_SCALEZ

    Specifies the scaleZ transform function.

    • const unsigned short CSS_SCALEZ = 21;

    Available in iOS 2.0 and later.

    Available in iOS 2.0 and later.

  • CSS_SKEW

    CSS_SKEW

    Specifies the skew transform function.

    • const unsigned short CSS_SKEW = 8;

    Available in Safari 4.0 and later.

    Available in Safari 4.0 and later.

  • CSS_SKEWX

    CSS_SKEWX

    Specifies the skewX transform function.

    • const unsigned short CSS_SKEWX = 9;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_SKEWY

    CSS_SKEWY

    Specifies the skewY transform function.

    • const unsigned short CSS_SKEWY = 10;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_TRANSLATE

    CSS_TRANSLATE

    Specifies the translate transform function.

    • const unsigned short CSS_TRANSLATE = 5;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_TRANSLATE3D

    CSS_TRANSLATE3D

    Specifies the translate3d transform function.

    • const unsigned short CSS_TRANSLATE3D = 6;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

  • CSS_TRANSLATEX

    CSS_TRANSLATEX

    Specifies the translateX transform function.

    • const unsigned short CSS_TRANSLATEX = 16;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_TRANSLATEY

    CSS_TRANSLATEY

    Specifies the translateY transform function.

    • const unsigned short CSS_TRANSLATEY = 17;

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0 and later.

    Available in iOS 2.0 and later.

  • CSS_TRANSLATEZ

    CSS_TRANSLATEZ

    Specifies the translateZ transform function.

    • const unsigned short CSS_TRANSLATEZ = 18;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

  • CSS_UNKNOWN

    CSS_UNKNOWN

    An unknown function.

    • const unsigned short CSS_UNKNOWN = 0;

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.

    Available in Safari 4.0.3 and later.

    Available in iOS 2.0 and later.