strokeAlign
Stroke alignment relative to the element’s bounds.
Type(s)
| Type | Example |
|---|---|
string | "INSIDE", "OUTSIDE", "CENTER" |
TokenReference | $token: ...$type: string |
Supported on
| Element | Figma Layer(s) |
|---|---|
container | Component, Frame, Instance, Slot |
vectors | Rectangle, Vector, Ellipse, Star, Polygon |
line | Line |
Source
| Format | File |
|---|---|
| TypeScript | packages/schema/types/Styles.ts |
| JSON Schema | packages/schema/schema/styles.schema.json |