Optional
assetsAsset contents of the layer.
Optional
blendBlend mode of the layer. Possible values are defined in Fill.BLEND_MODE
Optional
blurBlur applied to the layer.
Border radius of the layer.
Borders of the layer.
Optional
componentComponent name of the layer.
Optional
componentComponent source identifier of the layer.
Optional
constraintsConstraints of the layer.
Optional
contentText content of the layer.
Optional
cornerCorner radius of the layer.
Optional
exportableIndicates whether the layer is exportable or not.
Fills applied to the layer.
Optional
inspectableWhether the layer is inspectable in Zeplin.
Optional
layersLayers contained by the layer.
Optional
layoutLayout properties of the layer.
Optional
layoutAlignment of the layer. Possible values are defined in Layout.ALIGNMENT
Optional
layoutGrow rate of the layer. This property specifies how much of the remaining space in the parent layer should be assigned to the item. Can be zero or a positive number.
Optional
maxMax height of the layer.
Optional
maxMax lines of the text layer.
Optional
maxMax width of the layer.
Optional
minMin height of the layer.
Optional
minMin width of the layer.
Name of the layer
Opacity of the layer. A number in interval [0, 1].
Parent layer of the layer.
Bounding rectangle of the layer.
Optional
rotationRotation applied to the layer.
Shadows applied to the layer.
Optional
shapeShape type of the shape layer. Possible values are defined in Layer.SHAPE_TYPE
Optional
sourceId of the layer in the source design document.
Optional
styleShared style name of the layer.
Optional
styleShared style source identifier of the layer.
Optional
textShared text style name of the layer.
Optional
textList of text styles used in the layer.
Optional
textShared text style identifier of the layer.
Optional
textDetermines how long text should be truncated for the text layers. Possible value is "end".
Type of the layer. Possible values are defined in Layer.TYPE
Optional
versionVersion containing the layer.
Gets the default text style of the layer
The default text style of the layer, or undefined if the layer is not a text layer or has no text styles
Static
ALLOWED_Static
SHAPE_Static
TYPE
An interface that represents a Layer.