AngeliA
Search Results for

    Show / Hide Table of Contents

    Struct FontScope

    Scope that makes labels inside display with given font

    Implements
    IDisposable
    Examples
    using AngeliA;
    
    namespace AngeliaGame;
    
    public class Example {
    
    	[OnGameUpdate]
    	internal static void OnGameUpdate () {
    
    		int fontID = /*Your font ID here*/;
    
    		using (new FontScope(fontID)) {
    
    			// Labels inside will be display with the given font
    
    		}
    
    	}
    
    }

    Constructors

    FontScope(int)

    Scope that makes labels inside display with given font

    Declaration
    public FontScope(int fontID)

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค