Show / Hide Table of Contents

Class FontAsset

Font asset type. This asset is used to render text.

Inheritance
System.Object
IAsset
FontAsset
Implements
System.IDisposable
Inherited Members
IAsset._handle
IAsset.Tag
IAsset.Dispose()
IAsset.HaveHandle
IAsset.IsValid
IAsset.FullPath
IAsset.Path
IAsset.FullIdentifier
Namespace: BonEngineSharp.Assets
Assembly: BonEngineSharp.dll
Syntax
public class FontAsset : IAsset, IDisposable

Constructors

FontAsset(IntPtr)

Create the asset.

Declaration
public FontAsset(IntPtr handle)
Parameters
Type Name Description
System.IntPtr handle

Asset handle inside the low-level engine.

Properties

AssetType

Get asset type.

Declaration
public override AssetType AssetType { get; }
Property Value
Type Description
AssetType
Overrides
IAsset.AssetType

Size

Get music track length.

Declaration
public int Size { get; }
Property Value
Type Description
System.Int32

Methods

Finalize()

Dispose on destructor.

Declaration
protected override void Finalize()
Overrides
IAsset.Finalize()

Implements

System.IDisposable
Back to top Generated by DocFX