Properties
- BannerBox.Top
- A flag representing whether to show the top border.
- BannerBox.Bottom
- A flag representing whether to show the bottom border.
- BannerBox.Left
- A flag representing whether to show the left border.
- BannerBox.Right
- A flag representing whether to show the right border.
- BannerBox.All
- A flag representing whether to show all borders.
- BannerBox.NoGradient
- A flag representing no gradient (solid fill color).
- BannerBox.GradientVertical
- A flag representing a vertical gradient.
- BannerBox.GradientHorizontal
- A flag representing a horizontal gradient.
- BannerBox.AlignTextLeft
- A flag representing left text alignment.
- BannerBox.AlignTextCenter
- A flag representing centered text alignment.
- BannerBox.AlignTextRight
- A flag representing right text alignment.
BannerBox.setTextAlignment
- function BannerBox.setTextAlignment(alignment : Integer)
Arguments
- alignment
- The alignment for the banner. One of BannerBox.AlignTextLeft, BannerBox.AlignTextCenter or BannerBox.AlignTextRight.
Description
Sets the alignment for the banner.
BannerBox.setTextColor
- function BannerBox.setTextColor(color : Color)
Arguments
- color
- The color for the banner text.
Description
Sets the color for the banner text.
BannerBox.setTextPadding
- function BannerBox.setTextPadding(padding : Integer)
Arguments
- padding
- The padding for the banner text.
Description
Sets the padding for the banner text, which is the space between the text and the edge of the banner control.