Initializes a new instance of SGLabelStyle.
SGLabelStyle([textColor], [backgroundColor]);
Parameter |
Description |
textColor |
Optional, default: sgWhite The text color of the label. Can be one of the following: SGColor, HTML color string (e.g., “#FF0000”), a number that represents ABGR color (e.g., 0xAA0000FF) or one of the predefined Skyline Globe colors (e.g., sgRed). For a complete list of the predefined colors, see Skyline Globe Colors |
backgroundColor |
Optional, default: sgGray The background color of the label. Can be one of the following: SGColor, HTML color string (e.g., “#FF0000”), a number that represents ABGR color (e.g., 0xAA0000FF) or one of the predefined Skyline Globe colors (e.g., sgRed). For a complete list of the predefined colors, see Skyline Globe Colors |
Remarks
The default style is created with transparent background.