图层属性

图层坐标、大小等属性值可以成为表达式的一部分。

  • `layerName`.x

    The x-coordinate of a layer.

  • `layerName`.y

    The y-coordinate of a layer.

  • `layerName`.width

    The width of a layer.

  • `layerName`.height

    The height of a layer.

  • `layerName`.scaleX

    The scale factor X of a layer.

  • `layerName`.scaleY

    The scale factor Y of a layer.

  • `layerName`.rotation

    The rotation value of a layer.

  • `layerName`.rotation3d

    The 3D rotation value of a layer.

  • `layerName`.opacity

    The opacity value of a layer.

  • `layerName`.radius

    The radius value of a layer.

  • `containerName`.scrollOffset

    The current scroll value.

  • `layerName`.color

    The Hex color code of a layer.

  • `layerName`.fillOpacity

    The fill opacity value of a layer.

  • `layerName`.borderWidth

    The border width of a layer.

  • `layerName`.borderColor

    The border color of a layer.

  • `layerName`.borderOpacity

    The border opacity of a layer.

  • `layerName`.shadowOffsetX

    The x-coordinate of the shadow of a layer.

  • `layerName`.shadowOffsetY

    The y-coordinate of the shadow of a layer.

  • `layerName`.shadowBlur

    The shadow blur of a layer.

  • `layerName`.shadowColor

    The shadow color of a layer.

  • `layerName`.shadowOpacity

    The shadow opacity of a layer.

  • `layerName`.text

    The text in a text layer.

  • `layerName`.textColor

    The color of a text layer.

  • `layerName`.textOpacity

    The opacity of a text layer.

  • `layerName`.currentTime

    The current playtime of a video or audio layer.