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:
- ColorGroup support
- Gradient fill support
- Icons with positioning
Enumerations #
Name | Values |
---|---|
IconPosition | Left Center Right |
Styles | Primary Secondary Link |
Constants #
Name | Type | Value |
---|---|---|
This class exposes no constants. |
Events #
Definition | Parameters | Return Type | Description |
---|---|---|---|
DoublePressed | None | None | Raised when the element is double-pressed via touch. |
LongPressed | None | None | Raise when the user holds their finger down on the element. |
Pressed | None | None | Raised when the element is pressed via touch. |
Methods #
Definition | Parameters | Return Type | Description |
---|---|---|---|
This class exposes no methods. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
BorderRadius | Integer | 0 | Height and width of rounded display for component corners. |
Caption | String | “Untitled” | Text displayed within the button. |
Colors() | GraffitiScaledColor | Empty | Colors used to draw gradient background or border. |
ColorsPressed() | GraffitiScaledColor | Empty | Colors used to draw gradient background or border when the user presses the component. |
FontSize | Double | 0 | Size of font used to draw the button’s Caption. |
GradientAngle | Double | 0 | Angle used for drawing the Colors. |
Icon | Picture | Nil | Icon drawn in the button’s face. |
IconPosition | IconPositions | IconPositions.Left | Location of the icon relative to the Caption. |
Style | Styles | Styles.Primary | Drawing style applied to the button’s face. |
TextColor | ColorGroup | Nil | Color applied to the button’s Caption. |
TextColorPressed | ColorGroup | Nil | Color applied to the button’s Caption when the user presses it. |
Examples #
This class currently has no examples.
Notes #
This class currently has no notes.