Internal
Optional
borderDefines the color of the border of the shape. Default: #1a1a1a
(dark gray).
Optional
borderDefines 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 Default: 1.0
(solid color).
Optional
borderDefines the style used to represent the border of the shape. Default: normal
.
Optional
borderDefines the thickness of the shape border, in dp. Default: 2.0
.
Optional
colorHex value representing the color for the text within the shape item. Default: #1a1a1a
.
Optional
fillFill color for the shape. Hex values: #f5f6f8
#d5f692
#d0e17a
#93d275
#67c6c0
#23bfe7
#a6ccf5
#7b92ff
#fff9b1
#f5d128
#ff9d48
#f16c7f
#ea94bb
#ffcee0
#b384bb
#000000
Default: #ffffff.
Optional
fillOpacity 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 Default: Flowchart
shapes: 1.0
. Basic
shapes: 1.0
if fillColor
provided, 0.0
if no fillColor
provided.
Optional
fontDefines the font type for the text in the shape item. Default: arial
.
Optional
fontDefines the font size, in dp, for the text on the shape. Default: 14
.
Optional
textDefines how the shape text is horizontally aligned. Default: Flowchart shapes: center
. Basic shapes: left
. unknown
is returned for unsupported shapes.
Optional
textDefines how the shape text is vertically aligned. Default: Flowchart shapes: middle
. Basic shapes: top
. unknown
is returned for unsupported shapes.
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.