div-stroke

Stroke.

JSON

{
  color*: "string",
  unit: "string",
  width: "int"
}

Parameters

ParametersDescription
color

string

Required parameter.

Stroke color.

Valid formats: #RGB, #ARGB, #RRGGBB, #AARRGGBB.

unit

string

Possible values: dp, sp, px.

Default value: dp.

width

int

Stroke width.

Restriction for the value x: x >= 0.

Default value: 1.

ParametersDescription
color

string

Required parameter.

Stroke color.

Valid formats: #RGB, #ARGB, #RRGGBB, #AARRGGBB.

unit

string

Possible values: dp, sp, px.

Default value: dp.

width

int

Stroke width.

Restriction for the value x: x >= 0.

Default value: 1.