Rectangle


About

A RectStyle object defines the style of a rectangle shape.

Properties

The following properties can be set:

Property Definition Type Default
stroke Border color Color 'black'
strokeWidth Border width Number 1
strokeDashArray Border dash and gap pattern String 'none'
fill Inner color Color 'none'
cornerRadius Corner rounding factor Number 0

Comments