Skip to main content

Class GameFontLayoutPlan.Element

Plan on how each glyph will be rendered.

Assembly: Dalamud.dll
View Source
Declaration
public class GameFontLayoutPlan.Element

Properties

Codepoint

Gets the original codepoint.

View Source
Declaration
public int Codepoint { get; init; }

Glyph

Gets the corresponding or fallback glyph.

View Source
Declaration
public FdtReader.FontTableEntry Glyph { get; init; }

X

Gets the X offset of this glyph.

View Source
Declaration
public float X { get; }

Y

Gets the Y offset of this glyph.

View Source
Declaration
public float Y { get; }

IsControl

Gets a value indicating whether whether this codepoint is a control character.

View Source
Declaration
public bool IsControl { get; }

IsSpace

Gets a value indicating whether whether this codepoint is a space.

View Source
Declaration
public bool IsSpace { get; }

IsLineBreak

Gets a value indicating whether whether this codepoint is a line break character.

View Source
Declaration
public bool IsLineBreak { get; }

IsChineseCharacter

Gets a value indicating whether whether this codepoint is a chinese character.

View Source
Declaration
public bool IsChineseCharacter { get; }

IsWordBreakPoint

Gets a value indicating whether whether this codepoint is a good position to break word after.

View Source
Declaration
public bool IsWordBreakPoint { get; }