Whether the shadow should affect stroke operations
Shadow blur
Shadow color
Indicates whether toObject should include default values
When false, the shadow will scale with the object.
When true, the shadow's offsetX, offsetY, and blur will not be affected by the object's scale.
default to false
Shadow horizontal offset
Shadow vertical offset
Static ownStatic reRegex matching shadow offsetX, offsetY and blur (ex: "2px 2px 10px rgba(0,0,0,0.2)", "rgb(0,255,0) 2px 2px")
Returns object representation of a shadow
Object representation of a shadow instance
Returns SVG representation of a shadow
SVG representation of a shadow
Static parseShadow value to parse
Shadow object with color, offsetX, offsetY and blur
Generated using TypeDoc
Options object with any of color, blur, offsetX, offsetY properties or string (e.g. "rgba(0,0,0,0.2) 2px 2px 10px")