Rectangle

API ReferenceRendererRectangle

Rectangle {
    width: 150
    height: 100
    color: 'blue'
    border.color: 'black'
    border.width: 5
    radius: 10
}

Source


Rectangle.New()

Static method of
Rectangle
Parameters
  • component — Componentoptional
  • options — Objectoptional
Returns
Rectangle

Source


constructor()

Extends
Item
Returns
Rectangle

Source


color

Type
String
Default
'transparent'

onColorChange()

Parameters
  • oldValue — String
Type
Signal

Source


radius

Type
Float
Default
0

onRadiusChange()

Parameters
  • oldValue — Float
Type
Signal

Source


border

Type
Object

onBorderChange()

Parameters
  • property — String
  • oldValue — Any
Type
Signal

Source


border.width

Type
Float
Default
0

border.onWidthChange()

Parameters
  • oldValue — Float
Type
Signal

Source


border.color

Type
String
Default
'transparent'

border.onColorChange()

Parameters
  • oldValue — String
Type
Signal

Source

results matching ""

    No results matching ""