AbstractRectanglePrimitive
AbstractRectanglePrimitive ⇐ AbstractPrimitive
Kind: global abstract class
Extends: AbstractPrimitive
Properties
Name | Type | Description |
---|---|---|
type | String | The type of primitive (text, rectangle, image) |
fillColor | String | The shape color background represented by a #RRGGBB hexadecimal notation |
gradientDirection | String | The gradient direction (set to value |
gradientColorStart | String | The starting gradient color represented by a #RRGGBB hexadecimal notation |
gradientColorEnd | String | The ending gradient color represented by a #RRGGBB hexadecimal notation |
- AbstractRectanglePrimitive ⇐
AbstractPrimitive
AbstractRectanglePrimitive()
A rectangle primitive is an object that can be rendered by all kinds of renderers and it aims at displaying a rectangle.
_defineSettings(defaultSettings) ⇒ Object
Define settings for the rendering
Kind: instance method of AbstractRectanglePrimitive
Returns: Object
- An object holding the rendering settings
Access: protected
Param | Type | Description |
---|---|---|
defaultSettings | Object | Empty default settings |