Search Results for

    Show / Hide Table of Contents

    Class FontCharacterEntry

    The cached font character entry (read for rendering and further processing).

    Inheritance
    System.Object
    FontCharacterEntry
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class FontCharacterEntry : ValueType

    Fields

    AdvanceX

    The amount to advance in X before drawing the next character in a string.

    Declaration
    public short AdvanceX
    Field Value
    System.Int16

    BearingY

    The distance from baseline to glyph top most point.

    Declaration
    public short BearingY
    Field Value
    System.Int16

    Character

    The character represented by this entry.

    Declaration
    public char Character
    Field Value
    System.Char

    Font

    The owner font.

    Declaration
    public Font Font
    Field Value
    Font

    Height

    The height in pixels of the glyph.

    Declaration
    public short Height
    Field Value
    System.Int16

    IsValid

    True if entry is valid, otherwise false.

    Declaration
    public bool IsValid
    Field Value
    System.Boolean

    OffsetX

    The left bearing expressed in integer pixels.

    Declaration
    public short OffsetX
    Field Value
    System.Int16

    OffsetY

    The top bearing expressed in integer pixels.

    Declaration
    public short OffsetY
    Field Value
    System.Int16

    Slot

    The slot in texture atlas, containing the pixel data of the glyph.

    Declaration
    public IntPtr Slot
    Field Value
    System.IntPtr

    TextureIndex

    The index to a specific texture in the font cache.

    Declaration
    public byte TextureIndex
    Field Value
    System.Byte

    UV

    The start location of the character in the texture (in texture coordinates space).

    Declaration
    public Float2 UV
    Field Value
    Float2

    UVSize

    The size the character in the texture (in texture coordinates space).

    Declaration
    public Float2 UVSize
    Field Value
    Float2

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat