C# 클래스 Sharpex2D.Rendering.DirectX10.DirectXFont

상속: IFont
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D

공개 메소드들

메소드 설명
DirectXFont ( Typeface typeface ) : Sharpex2D.Content.Pipeline

Initializes a new DirectXFont.

GetFont ( ) : TextFormat

Gets the Font.

비공개 메소드들

메소드 설명
GetFontStyleFromTypeface ( ) : FontStyle

Converts the Typeface style into a FontStyle.

GetWeightFromTypeface ( ) : FontWeight

Converts the Typeface style into a FontWeight.

메소드 상세

DirectXFont() 공개 메소드

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

GetFont() 공개 메소드

Gets the Font.
public GetFont ( ) : TextFormat
리턴 TextFormat