C# 클래스 FSO.Client.UI.Framework.Font

Combines multiple vector fonts into a single font to better support px font sizes
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BaselineOffset float
CapsHeight int
UnderlinePosition int
UnderlineWidth int
WinAscent int
WinDescent int
XHeight int

공개 메소드들

메소드 설명
AddSize ( int pxSize, SpriteFont font ) : void
ComputeMetrics ( ) : void
Font ( ) : System
GetNearest ( int pxSize ) : FontEntry

메소드 상세

AddSize() 공개 메소드

public AddSize ( int pxSize, SpriteFont font ) : void
pxSize int
font Microsoft.Xna.Framework.Graphics.SpriteFont
리턴 void

ComputeMetrics() 공개 메소드

public ComputeMetrics ( ) : void
리턴 void

Font() 공개 메소드

public Font ( ) : System
리턴 System

GetNearest() 공개 메소드

public GetNearest ( int pxSize ) : FontEntry
pxSize int
리턴 FontEntry

프로퍼티 상세

BaselineOffset 공개적으로 프로퍼티

public float BaselineOffset
리턴 float

CapsHeight 공개적으로 프로퍼티

public int CapsHeight
리턴 int

UnderlinePosition 공개적으로 프로퍼티

public int UnderlinePosition
리턴 int

UnderlineWidth 공개적으로 프로퍼티

public int UnderlineWidth
리턴 int

WinAscent 공개적으로 프로퍼티

Default metrics for Sim font
public int WinAscent
리턴 int

WinDescent 공개적으로 프로퍼티

public int WinDescent
리턴 int

XHeight 공개적으로 프로퍼티

public int XHeight
리턴 int