div-rotation-transformation

Rotation transformation.

Parameters

Parameters Description
angle

number

Required parameter.

Rotation angle in degrees.

Available platforms: web.

type

string

Required parameter.

The value must always be rotation.

Available platforms: web.

pivot_x

object

X coordinate of the rotation pivot point.

The value has the type div-pivot.

Default value: {"type": "pivot-percentage","value":50}.

Available platforms: web.

List of possible values:

  • div-pivot-fixed
  • div-pivot-percentage
  • pivot_y

    object

    Y coordinate of the rotation pivot point.

    The value has the type div-pivot.

    Default value: {"type": "pivot-percentage","value":50}.

    Available platforms: web.

    List of possible values:

  • div-pivot-fixed
  • div-pivot-percentage
  • JSON
    {
      type*: "rotation",
      angle*: "number",
      pivot_x: div-pivot,
      pivot_y: div-pivot
    }