C# 클래스 Economy.scripts.Management.SeTextBuilder

파일 보기 프로젝트 열기: jpcsupplies/Economy_mod

공개 메소드들

메소드 설명
AddCenterLine ( float centerPosition, string text ) : void
AddCenterText ( float centerPosition, string text ) : void
AddFill ( string left, char fill, string right ) : void
AddLeftTrim ( float desiredWidth, string text ) : void
AddRightLine ( float rightEdgePosition, string text ) : void
AddRightText ( float rightEdgePosition, string text ) : void
AddText ( string text ) : void
AppendLine ( ) : void
AppendLine ( string text ) : void
GetStringTrimmed ( float desiredWidth, string text ) : string
MeasureString ( string str ) : int
SeTextBuilder ( bool isWide, float fontSize ) : System
ToString ( ) : string

비공개 메소드들

메소드 설명
AddCenterAlign ( StringBuilder stringBuilder, float centerPosition, string text ) : void
AddCharWidth ( string chars, byte size ) : void
AddFillText ( StringBuilder stringBuilder, string left, char fill, string right ) : void
AddRightAlign ( StringBuilder stringBuilder, float rightEdgePosition, string text ) : void
BuildFontWidthCatalog ( ) : void
LastLine ( StringBuilder stringBuilder ) : string
LoadCharWidths ( ) : void
MeasureChar ( char c ) : byte
SeTextBuilder ( ) : System
StringFormatter ( string text ) : string

메소드 상세

AddCenterLine() 공개 메소드

public AddCenterLine ( float centerPosition, string text ) : void
centerPosition float
text string
리턴 void

AddCenterText() 공개 메소드

public AddCenterText ( float centerPosition, string text ) : void
centerPosition float
text string
리턴 void

AddFill() 공개 메소드

public AddFill ( string left, char fill, string right ) : void
left string
fill char
right string
리턴 void

AddLeftTrim() 공개 메소드

public AddLeftTrim ( float desiredWidth, string text ) : void
desiredWidth float
text string
리턴 void

AddRightLine() 공개 메소드

public AddRightLine ( float rightEdgePosition, string text ) : void
rightEdgePosition float
text string
리턴 void

AddRightText() 공개 메소드

public AddRightText ( float rightEdgePosition, string text ) : void
rightEdgePosition float
text string
리턴 void

AddText() 공개 메소드

public AddText ( string text ) : void
text string
리턴 void

AppendLine() 공개 메소드

public AppendLine ( ) : void
리턴 void

AppendLine() 공개 메소드

public AppendLine ( string text ) : void
text string
리턴 void

GetStringTrimmed() 공개 정적인 메소드

public static GetStringTrimmed ( float desiredWidth, string text ) : string
desiredWidth float
text string
리턴 string

MeasureString() 공개 정적인 메소드

public static MeasureString ( string str ) : int
str string
리턴 int

SeTextBuilder() 공개 메소드

public SeTextBuilder ( bool isWide, float fontSize ) : System
isWide bool
fontSize float
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string