Skip to main content

All Properties

The table below contains all properties and their relations with each element type.

NameTypeTextImageImage LoaderImage SequenceRectangleEllipsePathCompositionLottie
xNumber✅✅✅✅✅✅✅✅✅
yNumber✅✅✅✅✅✅✅✅✅
opacityNumber✅✅✅✅✅✅✅✅✅
scaleXNumber✅✅✅✅✅✅✅✅✅
scaleYNumber✅✅✅✅✅✅✅✅✅
widthNumber✅✅✅✅✅✅✅✅
heightNumber✅✅✅✅✅✅✅✅
rotationNumber✅✅✅✅✅✅✅✅
colorString | Color✅
backgroundColorString | Color✅
fontSizeNumber✅
fontFamilyString✅
fontStyleString✅
fontWeightString✅
fontVariantString✅
textAlignString✅
verticalTextAlignString✅
textDecorationString✅
lineHeightNumber✅
letterSpacingNumber✅
textTransformString✅
paddingTopNumber✅
paddingRightNumber✅
paddingBottomNumber✅
paddingLeftNumber✅
textShadowShiftRightNumber✅
textShadowShiftBottomNumber✅
textShadowBlurNumber✅
textShadowColorString✅
fillString | Color✅✅✅
strokeColorString✅✅✅
strokeWidthNumber✅✅✅
strokeLinecapString✅✅✅
strokeDasharrayNumber✅✅✅
filterBlurNumber✅✅✅✅✅✅✅✅✅
filterBrightnessNumber✅✅✅✅✅✅✅✅✅
filterContrastNumber✅✅✅✅✅✅✅✅✅
filterGrayscaleNumber✅✅✅✅✅✅✅✅✅
filterHueRotateNumber✅✅✅✅✅✅✅✅✅
filterInvertNumber✅✅✅✅✅✅✅✅✅
filterSaturateNumber✅✅✅✅✅✅✅✅✅
filterSepiaNumber✅✅✅✅✅✅✅✅✅
dropShadowXNumber✅✅✅✅✅✅✅✅✅
dropShadowYNumber✅✅✅✅✅✅✅✅✅
dropShadowBlurNumber✅✅✅✅✅✅✅✅✅
dropShadowColorString✅✅✅✅✅✅✅✅✅
borderSyncRadiusboolean✅✅✅✅✅✅
borderRadiusNumber✅✅✅✅✅✅
borderTopLeftRadiusNumber✅✅✅✅✅✅
borderTopRightRadiusNumber✅✅✅✅✅✅
borderBottomLeftRadiusNumber✅✅✅✅✅✅
borderBottomRightRadiusNumber✅✅✅✅✅✅

Imported SVG images (element type SVG) support the same properties as Image elements, except the border radius properties.

strokeColor, textShadowColor and dropShadowColor accept solid colors only. Gradients work for color, backgroundColor and fill.