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

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

공개 메소드들

메소드 설명
AddPrivateLine ( string text ) : void
AddPrivateText ( string text ) : void
AddPublicCenterLine ( float centerPosition, string text ) : void
AddPublicCenterText ( float centerPosition, string text ) : void
AddPublicFill ( string left, char fill, string right ) : void
AddPublicLeftTrim ( float desiredWidth, string text ) : void
AddPublicLine ( ) : void
AddPublicLine ( string text ) : void
AddPublicRightLine ( float rightEdgePosition, string text ) : void
AddPublicRightText ( float rightEdgePosition, string text ) : void
AddPublicText ( string text ) : void
Clear ( ) : void
ClearPrivateText ( ) : void
ClearPublicText ( ) : void
Create ( IMyTextPanel textPanel ) : TextPanelWriter

This will find an existing TextPanelWriter for the specified IMyTextPanel, or create one if one doesn't already exist.

DisposeStaticCaches ( ) : void
GetPrivateString ( ) : string
GetPublicString ( ) : string
GetStringTrimmed ( float desiredWidth, string text ) : string
MeasureString ( string str ) : int
SetFontSize ( float size ) : void
UpdateImage ( float interval, List images ) : void
UpdatePrivate ( bool show = false ) : void
UpdatePublic ( bool show = true ) : void

비공개 메소드들

메소드 설명
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
CleanupCache ( ) : void
LastLine ( StringBuilder stringBuilder ) : string
LoadCharWidths ( ) : void
MeasureChar ( char c ) : byte
StringFormatter ( string text ) : string
TextPanelWriter ( ) : System
TextPanelWriter ( IMyTextPanel panel ) : System

메소드 상세

AddPrivateLine() 공개 메소드

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

AddPrivateText() 공개 메소드

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

AddPublicCenterLine() 공개 메소드

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

AddPublicCenterText() 공개 메소드

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

AddPublicFill() 공개 메소드

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

AddPublicLeftTrim() 공개 메소드

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

AddPublicLine() 공개 메소드

public AddPublicLine ( ) : void
리턴 void

AddPublicLine() 공개 메소드

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

AddPublicRightLine() 공개 메소드

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

AddPublicRightText() 공개 메소드

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

AddPublicText() 공개 메소드

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

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

ClearPrivateText() 공개 메소드

public ClearPrivateText ( ) : void
리턴 void

ClearPublicText() 공개 메소드

public ClearPublicText ( ) : void
리턴 void

Create() 공개 정적인 메소드

This will find an existing TextPanelWriter for the specified IMyTextPanel, or create one if one doesn't already exist.
public static Create ( IMyTextPanel textPanel ) : TextPanelWriter
textPanel IMyTextPanel
리턴 TextPanelWriter

DisposeStaticCaches() 공개 정적인 메소드

public static DisposeStaticCaches ( ) : void
리턴 void

GetPrivateString() 공개 메소드

public GetPrivateString ( ) : string
리턴 string

GetPublicString() 공개 메소드

public GetPublicString ( ) : string
리턴 string

GetStringTrimmed() 공개 정적인 메소드

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

MeasureString() 공개 정적인 메소드

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

SetFontSize() 공개 메소드

public SetFontSize ( float size ) : void
size float
리턴 void

UpdateImage() 공개 메소드

public UpdateImage ( float interval, List images ) : void
interval float
images List
리턴 void

UpdatePrivate() 공개 메소드

public UpdatePrivate ( bool show = false ) : void
show bool
리턴 void

UpdatePublic() 공개 메소드

public UpdatePublic ( bool show = true ) : void
show bool
리턴 void