C# Class Sharpex2D.Rendering.DirectX10.DirectXFont

Inheritance: IFont
ファイルを表示 Open project: ThuCommix/Sharpex2D

Public Methods

Method Description
DirectXFont ( Typeface typeface ) : Sharpex2D.Content.Pipeline

Initializes a new DirectXFont.

GetFont ( ) : TextFormat

Gets the Font.

Private Methods

Method Description
GetFontStyleFromTypeface ( ) : FontStyle

Converts the Typeface style into a FontStyle.

GetWeightFromTypeface ( ) : FontWeight

Converts the Typeface style into a FontWeight.

Method Details

DirectXFont() public method

Initializes a new DirectXFont.
public DirectXFont ( Typeface typeface ) : Sharpex2D.Content.Pipeline
typeface Typeface The Typeface
return Sharpex2D.Content.Pipeline

GetFont() public method

Gets the Font.
public GetFont ( ) : TextFormat
return TextFormat