User Interface
User Interface (UI) refers to the visual and interactive elements of a digital system or application that enable users to interact with and control it.
About the component
- Last Update 25 Oct, 2023
- Component Version : 5.0.0
- API 21, Android 5.0 Lollipop
- 42 Blocks Available
The Label component displays text with various formatting options, including font styles, colors, alignment, and HTML rendering. It also supports features like text shadowing, justification, scrolling, and masking.
Overview
A visible component that is used to Display text on the screen.
Events
Methods
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | Left | Integer | 0 |
2 | right | Integer | 0 |
3 | top | Integer | 0 |
3 | bottom | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | Left | Integer | 0 |
2 | Right | Integer | 0 |
3 | top | Integer | 0 |
4 | bottom | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | X | Integer | 0 |
2 | Y | Integer | 0 |
3 | radius | Integer | 0 |
4 | Color | text | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get CountLines | Integer | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Clickable | boolean | false |
2 | set Clickable | boolean | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get height | Integer | -1 |
2 | set Height | Integer | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get width | Integer | -1 |
2 | set Width | Integer | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set HeightPercent | Integer | * |
2 | set WidthPercent | Integer | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get FontSize | Integer | 14.0 |
2 | set FontSize | Integer | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get FontTypeface | text | * |
2 | set FontTypeface | file | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get HTMLContent | text | * |
2 | get HTMLFormat | boolean | false |
3 | set HTMLFormat | boolean | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get HasMargin | boolean | true |
2 | set HasMargin | boolean | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get JustifyContent | boolean | false |
2 | set JustifyContent | boolean | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set LineSpacing | Integer | * |
2 | set maxLines | Integer | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Marquee | boolean | false |
2 | set Marquee | boolean | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set Opacity | Integer | 1 |
2 | set showlinks | boolean | false |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Text | text | Text For Label |
2 | set Text | text | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get TextColor | text | #000000FF |
2 | set TextColor | text | * |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set WordSpacing | Integer | 1 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Visible | boolean | * |
2 | set Visible | boolean | * |