div-transform

Transformation of the element.

JSON

{
  pivot_x: div-pivot,
  pivot_y: div-pivot,
  rotation: "number"
}

Parameters

ParametersDescription
pivot_x

object

X coordinate of the rotation axis.

The value has the type div-pivot.

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

List of possible values:
  • div-pivot-fixed
  • div-pivot-percentage
  • pivot_y

    object

    Y coordinate of the rotation axis.

    The value has the type div-pivot.

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

    List of possible values:
  • div-pivot-fixed
  • div-pivot-percentage
  • rotation

    number

    Degrees of the element rotation. Positive values used for clockwise rotation.

    ParametersDescription
    pivot_x

    object

    X coordinate of the rotation axis.

    The value has the type div-pivot.

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

    List of possible values:
  • div-pivot-fixed
  • div-pivot-percentage
  • pivot_y

    object

    Y coordinate of the rotation axis.

    The value has the type div-pivot.

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

    List of possible values:
  • div-pivot-fixed
  • div-pivot-percentage
  • rotation

    number

    Degrees of the element rotation. Positive values used for clockwise rotation.