Class ShapeStyleForUpdateInternal

Contains information about the shape style, such as the border color or opacity.
All properties in style object are supported for shape types aren't listed below.

<th align="left">Shape type <th align="left">Unsupported properties
flow_chart_or fontSize, fontFamily, color, textAlign, textAlignVertical
flow_chart_summing_junction fontSize, fontFamily, color, textAlign, textAlignVertical
flow_chart_note_curly_left fillColor, fillOpacity
flow_chart_note_curly_right fillColor, fillOpacity
flow_chart_note_square fillColor, fillOpacity

Hierarchy

  • ShapeStyleForUpdate

Constructors

Properties

borderColor?: string

Defines the color of the border of the shape.

borderOpacity?: string

Defines the opacity level of the shape border. Possible values: any number between 0.0 and 1.0, where: 0.0: the background color is completely transparent or invisible 1.0: the background color is completely opaque or solid

borderStyle?: string

Defines the style used to represent the border of the shape.

borderWidth?: string

Defines the thickness of the shape border, in dp.

color?: string

Hex value representing the color for the text within the shape item.

fillColor?: string

Fill color for the shape. Hex values: #f5f6f8 #d5f692 #d0e17a #93d275 #67c6c0 #23bfe7 #a6ccf5 #7b92ff #fff9b1 #f5d128 #ff9d48 #f16c7f #ea94bb #ffcee0 #b384bb #000000

fillOpacity?: string

Opacity level of the fill color. Possible values: any number between 0 and 1, where: 0.0: the background color is completely transparent or invisible 1.0: the background color is completely opaque or solid

fontFamily?: string

Defines the font type for the text in the shape item.

fontSize?: string

Defines the font size, in dp, for the text on the shape.

textAlign?: string

Defines how the sticky note text is horizontally aligned.

textAlignVertical?: string

Defines how the sticky note text is vertically aligned.