Members
color :String
Color of a brush
Type:
- String
- Default Value:
- rgb(0, 0, 0)
- Source:
limitedToCanvasSize :Boolean
When `true`, the free drawing is limited to the whiteboard size. Default to false.
Type:
- Boolean
- Default Value:
- false
- Source:
shadow :fabric.Shadow
Shadow object representing shadow of this shape.
Backwards incompatibility note: This property replaces "shadowColor" (String), "shadowOffsetX" (Number),
"shadowOffsetY" (Number) and "shadowBlur" (Number) since v1.2.12
Type:
- Source:
strokeDashArray :Array
Stroke Dash Array.
Type:
- Array
- Source:
strokeLineCap :String
Line endings style of a brush (one of "butt", "round", "square")
Type:
- String
- Default Value:
- round
- Source:
strokeLineJoin :String
Corner style of a brush (one of "bevel", "round", "miter")
Type:
- String
- Default Value:
- round
- Source:
strokeMiterLimit :Number
Maximum miter length (used for strokeLineJoin = "miter") of a brush's
Type:
- Number
- Default Value:
- 10
- Source:
width :Number
Width of a brush, has to be a Number, no string literals
Type:
- Number
- Default Value:
- 1
- Source: