Skip to main content

Class GameFontLayoutPlan

Plan on how glyphs will be rendered.

Assembly: Dalamud.dll
View Source
Declaration
public class GameFontLayoutPlan

Properties

ImFontPtr

Gets the associated ImFontPtr.

View Source
Declaration
public ImFontPtr ImFontPtr { get; }

Size

Gets the size in points of the text.

View Source
Declaration
public float Size { get; }

X

Gets the x offset of the leftmost glyph.

View Source
Declaration
public float X { get; }

Width

Gets the width of the text.

View Source
Declaration
public float Width { get; }

Height

Gets the height of the text.

View Source
Declaration
public float Height { get; }

Elements

Gets the list of plannen elements.

View Source
Declaration
public IList<GameFontLayoutPlan.Element> Elements { get; }

Methods

Draw(ImDrawListPtr, Vector2, uint)

Draws font to ImGui.

View Source
Declaration
public void Draw(ImDrawListPtr drawListPtr, Vector2 pos, uint col)
Parameters
TypeNameDescription
ImGuiNET.ImDrawListPtrdrawListPtrTarget ImDrawList.
System.Numerics.Vector2posPosition.
System.UInt32colColor.