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

Implements abstract multi-render font
파일 보기 프로젝트 열기: EmptyKeys/UI_Engines 1 사용 예제들

공개 메소드들

메소드 설명
FontBase ( object nativeFont ) : System.Text

Initializes a new instance of the FontBase class.

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.

메소드 상세

FontBase() 공개 메소드

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

GetNativeFont() 공개 추상적인 메소드

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

MeasureString() 공개 추상적인 메소드

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

MeasureString() 공개 추상적인 메소드

Measures the string.
public abstract 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