C# Class Sharpex2D.Rendering.DirectX10.DirectXFont

Inheritance: IFont
Afficher le fichier Open project: ThuCommix/Sharpex2D

Méthodes publiques

Méthode Description
DirectXFont ( Typeface typeface ) : Sharpex2D.Content.Pipeline

Initializes a new DirectXFont.

GetFont ( ) : TextFormat

Gets the Font.

Private Methods

Méthode Description
GetFontStyleFromTypeface ( ) : FontStyle

Converts the Typeface style into a FontStyle.

GetWeightFromTypeface ( ) : FontWeight

Converts the Typeface style into a FontWeight.

Method Details

DirectXFont() public méthode

Initializes a new DirectXFont.
public DirectXFont ( Typeface typeface ) : Sharpex2D.Content.Pipeline
typeface Typeface The Typeface
Résultat Sharpex2D.Content.Pipeline

GetFont() public méthode

Gets the Font.
public GetFont ( ) : TextFormat
Résultat TextFormat