Shape

The <shape> tag creates a layer in which one or more shapes are drawn. These shapes are either cubic bezier shapes or linear shapes. Shapes are drawn and filled with a color. The path of a shape can be animated with an <animation> .

SYNTAX

<shape
    path="a cubic bezier path"
    points="a list of points which are connected with straight lines"
    width="number"
    height="number"
    fill="color"
    stroke="color"
    linewidth="number"
    duration="time | variable"
    offset="time"
    blendmode="blendmode"
    anchor="point"
    position="point"
    scale="point"
    rotation="float"
    opacity="float"
    origin="point"
    condition="variable"
    
    >
    . . .
</shape>

CONTAINED IN

<scene>

CAN CONTAIN

<animation>
<filter>
<mask>
<transform>
<path>

ATTRIBUTES

color
The color to fill this layer with.
width
The width of this layer. Default is the natural size of the footage item.
height
The height of this layer. Default is the natural size of the footage item.
stroke
The color to draw the lines with.
fill
The color to fill this shape with.
linewidth
The thickness of the lines.
duration
The duration this layer is rendered. The duration can be given in frame or time format. Default is the natural duration of the footage item. Can be a variable.
offset
The time from the beginning of the scene when this layer shall begin to render. Default is "0".
blendmode
The pixel mix mode. Can be either "normal", "multiply", "screen", "overlay", "softlight", "hardlight". Default is "normal".
position
The point for the origin of this layer. Default is "0, 0".
scale
The scale factor for this layer. Default is "1, 1".
anchor
The offset from the center of this layer around rotation, position and scale is applied. Default is "0, 0".
rotation
The angle this layer.shall be rotated. Default is "0".
opacity
The opacity this layer will be rendered with. Default is "1".
condition
A variable definition which determines whether the layer is rendered or not. Default is to always render the layer.
overlap
The amount of time the layer will be rendered short (values < 0) or is skipped (values > 0). Default is "0".

Terms of Use | © 2017, Impossible Software, or its affiliates. All rights reserved.