AbstractRectanglePrimitive

AbstractRectanglePrimitive ⇐ AbstractPrimitive

Kind: global abstract class
Extends: AbstractPrimitive
Properties

NameTypeDescription
typeString

The type of primitive (text, rectangle, image)

fillColorString

The shape color background represented by a #RRGGBB hexadecimal notation

gradientDirectionString

The gradient direction (set to value to bottom by default)

gradientColorStartString

The starting gradient color represented by a #RRGGBB hexadecimal notation

gradientColorEndString

The ending gradient color represented by a #RRGGBB hexadecimal notation

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

ParamTypeDescription
defaultSettingsObject

Empty default settings