Font Class

Summary

This container public class can store the definition for a font and it's style.
Namespace
AlphaTab.Platform.Model
Base Types
  • object
graph TD Base0["object"]-->Type Type["Font"] class Type type-node

Syntax

public class Font

Constructors

Name Summary
Font(string, float, FontStyle) Initializes a new instance of the Font class.

Properties

Name Value Summary
Family string
Gets or sets the font family name.
IsBold bool
Gets a value indicating whether the font is bold.
IsItalic bool
Gets a value indicating whether the font is italic.
Size float
Gets or sets the font size in pixels.
Style FontStyle
Gets or sets the font style.