Skip to content

API reference / Common / Engine types / PaintRectAlign

Type Alias: PaintRectAlign ​

ts
type PaintRectAlign = 
  | "topLeft"
  | "top"
  | "topRight"
  | "left"
  | "center"
  | "right"
  | "bottomLeft"
  | "bottom"
  | "bottomRight";

A nine-point anchor (ST_RectAlignment) — first-tile origin for a tiled fill, and shadow/effect alignment.