Rectangle primitive properties

This primitive goals to draw a rectangle.

Properties

  • gradientDirection
  • gradientColorStart
  • gradientColorEnd
  • fillColor

Properties specifications

gradientDirection

TypeDefault valueSupported value
stringnull’to left’, ’to right’, ’to bottom’, ’to top'

Describes the gradient direction (supported values: ’to left’, ’to right’, ’to bottom’, ’to top’) (default: null)

Caution

“to left” and “to right” are not available on QT (due to imposibility on QT 5.9)

gradientColorStart

TypeDefault valueSupported value
stringnullNot applicable

Describes the 1rst gradient color using format defined in theme

gradientColorEnd

TypeDefault valueSupported value
stringnullNot applicable

Describes the 2nd gradient color using format defined in theme

fillColor

TypeDefault valueSupported value
stringnullNot applicable

Describes the fill color using format defined in theme. Incompatible with gradient, if both are set, only gradient will be used