60 lines
4.5 KiB
Plaintext
60 lines
4.5 KiB
Plaintext
@param {String} [config.fill] fill color
|
|
* @param {Integer} [config.fillRed] set fill red component
|
|
* @param {Integer} [config.fillGreen] set fill green component
|
|
* @param {Integer} [config.fillBlue] set fill blue component
|
|
* @param {Integer} [config.fillAlpha] set fill alpha component
|
|
* @param {Image} [config.fillPatternImage] fill pattern image
|
|
* @param {Number} [config.fillPatternX]
|
|
* @param {Number} [config.fillPatternY]
|
|
* @param {Object} [config.fillPatternOffset] object with x and y component
|
|
* @param {Number} [config.fillPatternOffsetX]
|
|
* @param {Number} [config.fillPatternOffsetY]
|
|
* @param {Object} [config.fillPatternScale] object with x and y component
|
|
* @param {Number} [config.fillPatternScaleX]
|
|
* @param {Number} [config.fillPatternScaleY]
|
|
* @param {Number} [config.fillPatternRotation]
|
|
* @param {String} [config.fillPatternRepeat] can be "repeat", "repeat-x", "repeat-y", or "no-repeat". The default is "no-repeat"
|
|
* @param {Object} [config.fillLinearGradientStartPoint] object with x and y component
|
|
* @param {Number} [config.fillLinearGradientStartPointX]
|
|
* @param {Number} [config.fillLinearGradientStartPointY]
|
|
* @param {Object} [config.fillLinearGradientEndPoint] object with x and y component
|
|
* @param {Number} [config.fillLinearGradientEndPointX]
|
|
* @param {Number} [config.fillLinearGradientEndPointY]
|
|
* @param {Array} [config.fillLinearGradientColorStops] array of color stops
|
|
* @param {Object} [config.fillRadialGradientStartPoint] object with x and y component
|
|
* @param {Number} [config.fillRadialGradientStartPointX]
|
|
* @param {Number} [config.fillRadialGradientStartPointY]
|
|
* @param {Object} [config.fillRadialGradientEndPoint] object with x and y component
|
|
* @param {Number} [config.fillRadialGradientEndPointX]
|
|
* @param {Number} [config.fillRadialGradientEndPointY]
|
|
* @param {Number} [config.fillRadialGradientStartRadius]
|
|
* @param {Number} [config.fillRadialGradientEndRadius]
|
|
* @param {Array} [config.fillRadialGradientColorStops] array of color stops
|
|
* @param {Boolean} [config.fillEnabled] flag which enables or disables the fill. The default value is true
|
|
* @param {String} [config.fillPriority] can be color, linear-gradient, radial-graident, or pattern. The default value is color. The fillPriority property makes it really easy to toggle between different fill types. For example, if you want to toggle between a fill color style and a fill pattern style, simply set the fill property and the fillPattern properties, and then use setFillPriority('color') to render the shape with a color fill, or use setFillPriority('pattern') to render the shape with the pattern fill configuration
|
|
* @param {String} [config.stroke] stroke color
|
|
* @param {Integer} [config.strokeRed] set stroke red component
|
|
* @param {Integer} [config.strokeGreen] set stroke green component
|
|
* @param {Integer} [config.strokeBlue] set stroke blue component
|
|
* @param {Integer} [config.strokeAlpha] set stroke alpha component
|
|
* @param {Number} [config.strokeWidth] stroke width
|
|
* @param {Boolean} [config.strokeScaleEnabled] flag which enables or disables stroke scale. The default is true
|
|
* @param {Boolean} [config.strokeEnabled] flag which enables or disables the stroke. The default value is true
|
|
* @param {String} [config.lineJoin] can be miter, round, or bevel. The default
|
|
* is miter
|
|
* @param {String} [config.lineCap] can be butt, round, or sqare. The default
|
|
* is butt
|
|
* @param {String} [config.shadowColor]
|
|
* @param {Integer} [config.shadowRed] set shadow color red component
|
|
* @param {Integer} [config.shadowGreen] set shadow color green component
|
|
* @param {Integer} [config.shadowBlue] set shadow color blue component
|
|
* @param {Integer} [config.shadowAlpha] set shadow color alpha component
|
|
* @param {Number} [config.shadowBlur]
|
|
* @param {Object} [config.shadowOffset] object with x and y component
|
|
* @param {Number} [config.shadowOffsetX]
|
|
* @param {Number} [config.shadowOffsetY]
|
|
* @param {Number} [config.shadowOpacity] shadow opacity. Can be any real number
|
|
* between 0 and 1
|
|
* @param {Boolean} [config.shadowEnabled] flag which enables or disables the shadow. The default value is true
|
|
* @param {Array} [config.dash]
|
|
* @param {Boolean} [config.dashEnabled] flag which enables or disables the dashArray. The default value is true |