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;
  int CHAR_ATTRIBUTE_BOLD = 0x2;
  int CHAR_ATTRIBUTE_UNDERLINED = 0x4;
  int CHAR_ATTRIBUTE_STRIKETHROUGH = 0x8;
  int CHAR_ATTRIBUTE_SMALLCAPS = 0x10;
  int CHAR_ATTRIBUTE_SUPERSCRIPT = 0x20;
  int CHAR_ATTRIBUTE_UNCERTAIN = 0x10000;

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.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.