Table of Contents
Images #
About #
GraffitiBadge is a simple yet powerful addition to your UI toolkit. Display responsively-size badges anywhere and everywhere without worrying about font sizes.
Features:
- Automatic text sizing
- Custom background color
- Custom text color
- ColorGroup support
- Button functionality
- Pill display mode
Enumerations #
Name | Values |
---|---|
This class exposes no enumerations. |
Constants #
Name | Type | Value |
---|---|---|
This class exposes no constants. |
Events #
Definition | Parameters | Return Type | Description |
---|---|---|---|
DoublePressed | None | None | Raised when the badge is double-clicked or double-pressed. |
Pressed | None | None | Raised when the badge is clicked or pressed via touch. |
Methods #
Definition | Parameters | Return Type | Description |
---|---|---|---|
This class exposes no methods. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
BackgroundColor | ColorGroup | Nil | Color set applied to the badge’s background. |
Bold | Boolean | False | Determines the weight of the font used. |
IsButton | Boolean | False | When True, the badge will respond visually to mouse actions. |
IsPill | Boolean | False | When True, the badge displays with more rounded corners. |
Italic | Boolean | False | Determines the obliqueness of the text. |
Text | String | Untitled | Text to display within the badge. |
TextColor | ColorGroup | Nil | Color set applied to the badge’s foreground. |
TextFont | String | System | Font face used for text display. |
Underline | Boolean | False | When True, the text will be displayed with the underline decoration. |
Examples #
This class currently has no examples.
Notes #
This class currently has no notes.