Search Results for

    Show / Hide Table of Contents

    Class Atlas

    The atlas generated data.

    Inheritance
    object
    Atlas
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Assets.AssetParts.Fonts
    Assembly: Evergine.Framework.dll
    Syntax
    public class Atlas

    Properties

    distanceRange

    Gets or sets the signed distance field range in pixel.

    Declaration
    public int distanceRange { get; set; }
    Property Value
    Type Description
    int

    height

    Gets or sets the atlas height.

    Declaration
    public int height { get; set; }
    Property Value
    Type Description
    int

    size

    Gets or sets the atlas dimensions.

    Declaration
    public float size { get; set; }
    Property Value
    Type Description
    float

    type

    Gets or sets the atlas font type (Values: hard, soft, sdf, psdf, msdf, mtsdf).

    Declaration
    public string type { get; set; }
    Property Value
    Type Description
    string

    width

    Gets or sets the atlas width.

    Declaration
    public int width { get; set; }
    Property Value
    Type Description
    int

    yOrigin

    Gets or sets the y origin.

    Declaration
    public string yOrigin { get; set; }
    Property Value
    Type Description
    string

    Methods

    Read(BinaryReader)

    Read atlas from binary file.

    Declaration
    public static Atlas Read(BinaryReader reader)
    Parameters
    Type Name Description
    BinaryReader reader

    The binary reader.

    Returns
    Type Description
    Atlas

    The read atlas object.

    Write(BinaryWriter)

    Write atlas data into binary file.

    Declaration
    public void Write(BinaryWriter writer)
    Parameters
    Type Name Description
    BinaryWriter writer

    The binary writer.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX