Table of Contents
Images #
About #
GraffitiBadge is a simple yet powerful addition to your UI toolkit. Display responsively-sized 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. |
FontStyle | FontStyles | FontStyles.None | Determines the style of 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. |
Text | String | Untitled | Text to display within the badge. |
TextColor | ColorGroup | Nil | Color set applied to the badge’s foreground. |
Examples #
This class currently has no examples.
Notes #
This class currently has no notes.