Angle of rotation of an object (in degrees)
Background color of an object. takes css colors https://www.w3.org/TR/css-color-3/
Optionalclipa fabricObject that, without stroke define a clipping area with their shape. filled in black the clipPath object gets used when the object has rendered, and the context is placed in the center of the object cacheCanvas. If you want 0,0 of a clipPath to align with an object center, use clipPath.originX/Y to 'center'
OptionalcustomColor of object's fill takes css colors https://www.w3.org/TR/css-color-3/
Fill rule used to fill an object
accepted values are nonzero, evenodd
Backwards incompatibility note: This property was used for setting globalCompositeOperation until v1.4.12 (use globalCompositeOperation instead)
When true, an object is rendered as flipped horizontally
When true, an object is rendered as flipped vertically
Composite rule used for canvas globalCompositeOperation
Object height
OptionalidLeft position of an object. Note that by default it's relative to object left. You can change this by setting FabricObject#originX
Opacity of an object
Horizontal origin of transformation of an object (left, center, right or [0, 1])
See http://jsfiddle.net/1ow02gea/244/ on how originX/originY affect objects in groups
please set your default to 'center' in new projects and don't use it to build logic The reason is explained here: https://github.com/fabricjs/fabric.js/discussions/9736 To set the default value to 'center' import BaseFabricObject and set the static BaseFabricObject.ownDefaults.originX = 'center'
Vertical origin of transformation of an object (top, center, bottom or [0, 1])
See http://jsfiddle.net/1ow02gea/244/ on how originX/originY affect objects in groups
please set your default to 'center' in new projects and don't use it to build logic The reason is explained here: https://github.com/fabricjs/fabric.js/discussions/9736 To set the default value to 'center' import BaseFabricObject and set the static BaseFabricObject.ownDefaults.originY = 'center'
Determines if the fill or the stroke is drawn first (one of "fill" or "stroke")
Object scale factor (horizontal)
Object scale factor (vertical)
Shadow object representing shadow of this shape
Angle of skew on x axes of an object (in degrees)
Angle of skew on y axes of an object (in degrees)
When defined, an object is rendered via stroke and this property specifies its color takes css colors https://www.w3.org/TR/css-color-3/
Array specifying dash pattern of an object's stroke (stroke must be defined)
Line offset of an object's stroke
Line endings style of an object's stroke (one of "butt", "round", "square")
Corner style of an object's stroke (one of "bevel", "round", "miter")
Maximum miter length (used for strokeLineJoin = "miter") of an object's stroke
When false, the stoke width will scale with the object.
When true, the stroke will always match the exact pixel size entered for stroke width.
this Property does not work on Text classes or drawing call that uses strokeText,fillText methods
default to false
Width of a stroke used to render this object
Top position of an object. Note that by default it's relative to object top. You can change this by setting FabricObject#originY
When set to false, an object is not rendered on canvas
Object width
Serialized object data for transmission