CharInfo class
Extended information about the character formatting.
final class CharInfo {
public final Rect Rect;
public final Point[] Quadrangle;
public final int ForegroundColor;
public final int BackgroundColor;
public final int Attributes;
}
Properties
Name | Type | Description |
---|---|---|
Attributes | int |
Character attributes as the OR combination of the following flags:
int CHAR_ATTRIBUTE_ITALIC = 0x1; |
BackgroundColor | int |
The color of the background.
Note: The int value is calculated from the RGB triplet using the formula: (red value) + (256 x green value) + (65536 x blue value), where red value is the first triplet component, green value is the second triplet component, blue value is the third triplet component. For example, the int value of the color white equals 16777215. |
ForegroundColor | int | The color of the symbol. |
Quadrangle | Point[] | The four vertex points of the bounding quadrangle. The vertices are indexed clockwise starting from the bottom left. |
Rect | Rect | The bounding rectangle of the symbol. |
3/2/2022 12:59:15 PM