Skip to content
Spreadsheet Editor

Shape

type Shape = {
ah?: (
| AdjustValueHandleXY
| AdjustValueHandlePolar)[];
av?: GuidePoint[];
bwMode?: BlackWhiteMode;
cxn?: ConnectionPoint[];
fill?: Fill;
gd?: GuidePoint[];
line?: Line;
paths?: Path[];
preset?: string;
rect?: ShapeRect;
style?: ShapeStyle;
xfrm?: Xfrm;
};
Property Type Description
ah? ( | AdjustValueHandleXY | AdjustValueHandlePolar)[] Adjustment handles, allowing interactive shape geometry modification.
av? GuidePoint[] Adjustment values (guide points that store user-adjustable parameters).
bwMode? BlackWhiteMode Black-and-white rendering mode for grayscale or duotone display.
cxn? ConnectionPoint[] Connection points for attaching connectors to the shape.
fill? Fill Fill styling (solid, gradient, pattern, image, or none).
gd? GuidePoint[] Shape guides (calculated points used in geometry formulas).
line? Line Line/outline styling properties.
paths? Path[] Custom geometry paths defining the shape outline.
preset? string Preset shape type identifier (e.g., “rect”, “ellipse”, “roundRect”).
rect? ShapeRect Text margin rectangle (inset from shape bounds for text positioning).
style? ShapeStyle Visual style references (fill, line, effect styles from theme).
xfrm? Xfrm 2D transformation (position, rotation, scale).