C# 클래스 jxGameFramework.Data.Font

파일 보기 프로젝트 열기: jxpxxzj/WarshipGirl 1 사용 예제들

공개 메소드들

메소드 설명
DrawText ( Vector2 pos, Rectangle rect, string text, Color color ) : void
DrawText ( Vector2 pos, string text, Color color ) : void
Font ( string font, uint size ) : System
MeasureString ( string s ) : Vector2

비공개 메소드들

메소드 설명
CreateChar ( char c ) : Character
CreateStringTexture ( string s ) : jxGameFramework.Data.Character[]
DrawText ( SpriteBatch sb, Vector2 pos, Character text, Color color ) : void
DrawText ( SpriteBatch sb, Vector2 pos, Rectangle rect, Character text, Color color ) : void
GetCharBitmap ( uint c ) : Tao.FreeType.FT_GlyphSlotRec
PreMultiplyAlphas ( Microsoft.Xna.Framework.Graphics.Texture2D ret ) : void

메소드 상세

DrawText() 공개 메소드

public DrawText ( Vector2 pos, Rectangle rect, string text, Color color ) : void
pos Vector2
rect Microsoft.Xna.Framework.Rectangle
text string
color Color
리턴 void

DrawText() 공개 메소드

public DrawText ( Vector2 pos, string text, Color color ) : void
pos Vector2
text string
color Color
리턴 void

Font() 공개 메소드

public Font ( string font, uint size ) : System
font string
size uint
리턴 System

MeasureString() 공개 메소드

public MeasureString ( string s ) : Vector2
s string
리턴 Vector2