Method | Description | |
---|---|---|
DirectXFont ( Typeface typeface ) : Sharpex2D.Content.Pipeline |
Initializes a new DirectXFont.
|
|
GetFont ( ) : TextFormat |
Gets the Font.
|
Method | Description | |
---|---|---|
GetFontStyleFromTypeface ( ) : FontStyle |
Converts the Typeface style into a FontStyle.
|
|
GetWeightFromTypeface ( ) : FontWeight |
Converts the Typeface style into a FontWeight.
|
public DirectXFont ( Typeface typeface ) : Sharpex2D.Content.Pipeline | ||
typeface | Typeface | The Typeface |
return | Sharpex2D.Content.Pipeline |