Gets or sets a draw tool color.

Syntax

PHP

Initialize

public function getColor() {
}

public function setColor($value) {
}

Property Value

Type: string

The color value, specifying the pen color.

Default value is "#000000".

Remarks

The user may select another color using a color picker. If you don't want the user to change the color, you can hide the color picker using the EnableColorPicker.