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

파일 보기 프로젝트 열기: RHY3756547/FreeSO

공개 메소드들

메소드 설명
CalculateLines ( List m_Lines, List newWordsArray, TextStyle TextStyle, float lineWidth, float spaceWidth, Vector2 topLeftIconSpace, float lineHeight ) : void
ComputeText ( string text, TextRendererOptions options, UIElement target ) : TextRendererResult

Computes drawing commands to layout a block of text within certain constraints

DrawText ( List cmds, UIElement target, SpriteBatch batch ) : void
ExtractLineBreaks ( List words ) : List

메소드 상세

CalculateLines() 공개 정적인 메소드

public static CalculateLines ( List m_Lines, List newWordsArray, TextStyle TextStyle, float lineWidth, float spaceWidth, Vector2 topLeftIconSpace, float lineHeight ) : void
m_Lines List
newWordsArray List
TextStyle TextStyle
lineWidth float
spaceWidth float
topLeftIconSpace Vector2
lineHeight float
리턴 void

ComputeText() 공개 정적인 메소드

Computes drawing commands to layout a block of text within certain constraints
public static ComputeText ( string text, TextRendererOptions options, UIElement target ) : TextRendererResult
text string
options TextRendererOptions
target UIElement
리턴 TextRendererResult

DrawText() 공개 정적인 메소드

public static DrawText ( List cmds, UIElement target, SpriteBatch batch ) : void
cmds List
target UIElement
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

ExtractLineBreaks() 공개 정적인 메소드

public static ExtractLineBreaks ( List words ) : List
words List
리턴 List