C# 클래스 EmptyKeys.UserInterface.Media.MonoGameFont

Implements MonoGame specific font
상속: FontBase
파일 보기 프로젝트 열기: EmptyKeys/UI_Engines

공개 메소드들

메소드 설명
GetNativeFont ( ) : object

Gets the native font.

MeasureString ( StringBuilder text, float dpiScaleX, float dpiScaleY ) : Size

Measures the string.

MeasureString ( string text, float dpiScaleX, float dpiScaleY ) : Size

Measures the string.

MonoGameFont ( object nativeFont ) : System

Initializes a new instance of the MonoGameFont class.

메소드 상세

GetNativeFont() 공개 메소드

Gets the native font.
public GetNativeFont ( ) : object
리턴 object

MeasureString() 공개 메소드

Measures the string.
public MeasureString ( StringBuilder text, float dpiScaleX, float dpiScaleY ) : Size
text StringBuilder The text.
dpiScaleX float The dpi scale x.
dpiScaleY float The dpi scale y.
리턴 Size

MeasureString() 공개 메소드

Measures the string.
public MeasureString ( string text, float dpiScaleX, float dpiScaleY ) : Size
text string The text.
dpiScaleX float The dpi scale x.
dpiScaleY float The dpi scale y.
리턴 Size

MonoGameFont() 공개 메소드

Initializes a new instance of the MonoGameFont class.
public MonoGameFont ( object nativeFont ) : System
nativeFont object The native font.
리턴 System