C# 클래스 RedBadger.Xpf.Adapters.Xna.Graphics.SpriteFontAdapter

Adapts an XNA SpriteFont to an XPF ISpriteFont.
상속: ISpriteFont
파일 보기 프로젝트 열기: redbadger/XPF 1 사용 예제들

공개 메소드들

메소드 설명
MeasureString ( string text ) : Size
SpriteFontAdapter ( SpriteFont spriteFont ) : Microsoft.Xna.Framework

Initializes a new instance of a SpriteFontAdapter.

메소드 상세

MeasureString() 공개 메소드

public MeasureString ( string text ) : Size
text string
리턴 Size

SpriteFontAdapter() 공개 메소드

Initializes a new instance of a SpriteFontAdapter.
public SpriteFontAdapter ( SpriteFont spriteFont ) : Microsoft.Xna.Framework
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont The XNA SpriteFont to adapt.
리턴 Microsoft.Xna.Framework