Text

API ReferenceRendererText

Text {
    font.pixelSize: 30
    font.family: 'monospace'
    text: '<strong>Neft</strong> Renderer'
    color: 'blue'
}

Source


Text.New()

Static method of
Text
Parameters
  • options — Objectoptional
Returns
Text

Source


constructor()

Extends
Item
Returns
Text

Source


width

Type
Float
Default
-1

Source


height

Type
Float
Default
-1

Source


text

Type
String

onTextChange()

Parameters
  • oldValue — String
Type
Signal

Source


color

Type
String
Default
'black'

onColorChange()

Parameters
  • oldValue — String
Type
Signal

Source


linkColor

Type
String
Default
'blue'

onLinkColorChange()

Parameters
  • oldValue — String
Type
Signal

Source


lineHeight

Type
Float
Default
1
Not Implemented

onLineHeightChange()

Parameters
  • oldValue — Float
Type
Signal
Not Implemented

Source


contentWidth

Type
Float
Read Only

onContentWidthChange()

Parameters
  • oldValue — Float
Type
Signal

Source


contentHeight

Type
Float
Read Only

onContentHeightChange()

Parameters
  • oldValue — Float
Type
Signal

Source


alignment

Type
Item.Alignment

onAlignmentChange()

Parameters
  • property — String
  • oldValue — Any
Type
Signal

Source


font

Type
Item.Text.Font

onFontChange()

Parameters
  • property — String
  • oldValue — Any
Type
Signal

Source

results matching ""

    No results matching ""