C# Class AlphaTab.Platform.Model.Font

This container public class can store the definition for a font and it's style.
Show file Open project: CoderLine/alphaTab Class Usage Examples

Public Methods

Method Description
Clone ( ) : Font
Font ( string family, float size, FontStyle style = FontStyle.Plain ) : System
ToCssString ( float scale = 1 ) : string

Method Details

Clone() public method

public Clone ( ) : Font
return Font

Font() public method

public Font ( string family, float size, FontStyle style = FontStyle.Plain ) : System
family string
size float
style FontStyle
return System

ToCssString() public method

public ToCssString ( float scale = 1 ) : string
scale float
return string