ShapeProperties
23 Sep 20251 minute to read
Properties
allowOverLap boolean
Sets allowOverLapping of the shape.
dashStyle LineDashing
Sets lineFormatType of the shape.
distanceBottom number
Sets the distanceBottom of the shape.
distanceLeft number
Sets the distanceLeft of the shape.
distanceRight number
Sets the distanceRight of the shape.
distanceTop number
Sets the distanceTop of the shape.
fill boolean
Sets fill of the shape.
fillColor string
Sets fillColor of the shape(Hex value eg: #156082FF).
height number
Sets the height of the shape.
heightScale number
Sets the heightScale of the shape.
horizontalAlignment HorizontalAlignment
Sets the verticalAlignment of the shape.
horizontalOrigin HorizontalOrigin
Sets the verticalAlignment of the shape.
horizontalPosition number
Sets the verticalAlignment of the shape.
isBelowText boolean
Sets isBelowText of the shape.
isHorizontalRule boolean
Sets isHorizontalRule of the shape.
layoutInCell boolean
Sets isHorizontalRule of the shape.
line boolean
Sets line of the shape.
lineColor string
Sets lineColor of the shape(Hex value eg: #156082FF).
lineFormatType LineFormatType
Sets lineFormatType of the shape.
lineWeight number
Sets lineWeight of the shape
lockAnchor boolean
Sets lockAnchor of the shape.
textWrappingStyle TextWrappingStyle
Sets textWrappingStyle of the shape.
textWrappingType TextWrappingType
Sets textWrappingType of the shape.
verticalAlignment VerticalAlignment
Sets the verticalAlignment of the shape.
verticalOrigin VerticalOrigin
Sets the verticalOrigin of the shape.
verticalPosition number
Sets the verticalPosition of the shape.
visible boolean
Sets visiblity of the shape.
width number
Sets the height of the shape.
widthScale number
Sets the height scale of the shape.
x number
Sets the height of the shape.
y number
Sets the height of the shape.