Structs§
Enums§
- Layout
Align - Determines if the layer should stretch along the parent’s counter axis. This property is only provided for direct children of auto-layout frames. -
INHERIT-STRETCHIn previous versions of auto layout, determined how the layer is aligned inside an auto-layout frame. This property is only provided for direct children of auto-layout frames. -MIN-CENTER-MAX-STRETCHIn horizontal auto-layout frames, "MIN" and "MAX" correspond to "TOP" and "BOTTOM". In vertical auto-layout frames, "MIN" and "MAX" correspond to "LEFT" and "RIGHT". - Layout
Positioning - Determines whether a layer’s size and position should be determined by auto-layout settings or manually adjustable.
- Layout
Sizing Horizontal - The horizontal sizing setting on this auto-layout frame or frame child. -
FIXED-HUG: only valid on auto-layout frames and text nodes -FILL: only valid on auto-layout frame children - Layout
Sizing Vertical - The vertical sizing setting on this auto-layout frame or frame child. -
FIXED-HUG: only valid on auto-layout frames and text nodes -FILL: only valid on auto-layout frame children - Mask
Type - If this layer is a mask, this property describes the operation used to mask the layer’s siblings. The value may be one of the following: - ALPHA: the mask node’s alpha channel will be used to determine the opacity of each pixel in the masked result. - VECTOR: if the mask node has visible fill paints, every pixel inside the node’s fill regions will be fully visible in the masked result. If the mask has visible stroke paints, every pixel inside the node’s stroke regions will be fully visible in the masked result. - LUMINANCE: the luminance value of each pixel of the mask node will be used to determine the opacity of that pixel in the masked result.
- Scroll
Behavior - How layer should be treated when the frame is resized
- Stroke
Align - Position of stroke relative to vector outline, as a string enum -
INSIDE: stroke drawn inside the shape boundary -OUTSIDE: stroke drawn outside the shape boundary -CENTER: stroke drawn centered along the shape boundary - Stroke
Cap - A string enum describing the end caps of vector paths.
- Stroke
Join - A string enum with value of "MITER", "BEVEL", or "ROUND", describing how corners in vector paths are rendered.