Skip to main content
Version: v26

RectangleLineToolOverrides

Interface

Override properties for the Rectangle drawing tool.

Properties

linetoolrectangle.backgroundColor

Default value: rgba(156, 39, 176, 0.2)

Type

string


linetoolrectangle.bold

Default value: false

Type

boolean


linetoolrectangle.color

Default value: #9c27b0

Type

string


linetoolrectangle.extendLeft

Default value: false

Type

boolean


linetoolrectangle.extendRight

Default value: false

Type

boolean


linetoolrectangle.fillBackground

Default value: true

Type

boolean


linetoolrectangle.fontSize

Default value: 14

Type

number


linetoolrectangle.horzLabelsAlign

Default value: left

Type

string


linetoolrectangle.italic

Default value: false

Type

boolean


linetoolrectangle.linewidth

Default value: 2

Type

number


linetoolrectangle.middleLine.lineColor

Default value: #9c27b0

Type

string


linetoolrectangle.middleLine.lineStyle

Default value: 2

Type

number


linetoolrectangle.middleLine.lineWidth

Default value: 1

Type

number


linetoolrectangle.middleLine.showLine

Default value: false

Type

boolean


linetoolrectangle.showLabel

Default value: false

Type

boolean


linetoolrectangle.textColor

Default value: #9c27b0

Type

string


linetoolrectangle.transparency

Default value: 50

Type

number


linetoolrectangle.vertLabelsAlign

Default value: bottom

Type

string