Class FxMapFontMappingSection
public class FxMapFontMappingSection
{
// Fields
public Font f;
public int length;
public int startPos;
// Constructors
public FxMapFontMappingSection(Font f, int startPos, int length);
}
This class represents a subsection of an FxMapFont text buffer. The FxMapFont class ensures that a text buffer can be drawn in a given font, and sections the text buffer into FxMapFontMappingSection objects. Each FxMapFontMappingSection substring is mapped to its parent buffer by its startPos and length fields.
public FxMapFontMappingSection(Font f, int startPos, int length);
Creates a substring of the FxMapFont buffer.
Parameter | Description |
f
| The specified font.
|
startPos
| The starting location of the original string.
|
length
| The length of the subsection in the original string.
|
- f
- The recommended font.
- length
- The length of the subsection of the original FxMapFont string.
- startPos
- The starting location in the original string. FxMapFont