title? | string | - | types/src/element.ts:44 |
source? | string | - | types/src/element.ts:45 |
id? | string | - | types/src/element.ts:46 |
left? | number | - | types/src/element.ts:49 |
top? | number | - | types/src/element.ts:50 |
originX? | OriginX | - | types/src/element.ts:51 |
originY? | OriginY | - | types/src/element.ts:52 |
angle? | number | - | types/src/element.ts:53 |
scaleX? | number | - | types/src/element.ts:54 |
scaleY? | number | - | types/src/element.ts:55 |
opacity? | number | - | types/src/element.ts:56 |
flipX? | boolean | - | types/src/element.ts:57 |
flipY? | boolean | - | types/src/element.ts:58 |
draggable? | boolean | Allow user to drag the element | types/src/element.ts:62 |
rotatable? | boolean | Allow user to rotate the element | types/src/element.ts:64 |
resizable? | boolean | Allow user to resize the element | types/src/element.ts:66 |
removable? | boolean | Allow user to remove the element | types/src/element.ts:68 |
copyable? | boolean | Allow user to duplicate the element | types/src/element.ts:70 |
editable? | boolean | Allow user to edit the element content | types/src/element.ts:72 |
locked? | boolean | Lock the element (must be unlocked via Manage Layers) | types/src/element.ts:74 |
lockUniScaling? | boolean | Lock uniform (proportional) scaling | types/src/element.ts:78 |
uniScalingUnlockable? | boolean | Allow user to unlock proportional scaling in toolbar | types/src/element.ts:80 |
minScaleLimit? | number | Minimum scale factor | types/src/element.ts:82 |
boundingBox? | BoundingBoxValue | Bounding box constraint for the element | types/src/element.ts:86 |
z? | number | Z-index position (-1 means add on top of stack) | types/src/element.ts:90 |
zChangeable? | boolean | Allow user to change z-position | types/src/element.ts:92 |
topped? | boolean | Always keep element on top | types/src/element.ts:94 |
fill? | string | false | Fill color (false = no fill / use original) | types/src/element.ts:98 |
colors? | string | number | false | string[] | Available colors for colorization. - false: no colorization - string: single hex enables color picker - string[]: array of hex colors shows color swatches - number: number of colors (legacy) | types/src/element.ts:106 |
colorLinkGroup? | string | false | Link color changes across elements with same group name | types/src/element.ts:108 |
colorPrices? | Record<string, number> | Per-color pricing: { "hexcode": price } | types/src/element.ts:110 |
colorLink3DLayer? | string | false | Link color to a 3D model layer name | types/src/element.ts:112 |
price? | number | Price for this element | types/src/element.ts:116 |
sku? | string | Unique SKU identifier | types/src/element.ts:118 |
excludeFromExport? | boolean | Exclude from SVG/image export | types/src/element.ts:120 |
autoCenter? | boolean | Auto-center in canvas or bounding box when added | types/src/element.ts:122 |
autoSelect? | boolean | Auto-select element when added | types/src/element.ts:124 |
replace? | string | Replace elements with matching replace value | types/src/element.ts:126 |
replaceInAllViews? | boolean | Replace in all views (not just current) | types/src/element.ts:128 |
relatedViewImages? | RelatedViewImage[] | Related images to place on other views as a coordinated design set | types/src/element.ts:130 |
fixed? | boolean | Element stays when product changes | types/src/element.ts:132 |
showInColorSelection? | boolean | Show element colors in color selection panel | types/src/element.ts:134 |
patterns? | string[] | Array of pattern image URLs | types/src/element.ts:136 |
shadowColor? | string | - | types/src/element.ts:139 |
shadowBlur? | number | - | types/src/element.ts:140 |
shadowOffsetX? | number | - | types/src/element.ts:141 |
shadowOffsetY? | number | - | types/src/element.ts:142 |
printAreaId? | string | null | Assign element to a specific print area | types/src/element.ts:146 |