C# 클래스 FFACETools.FFACE.WindowerTools.TextObject

Text object to display in FFXi
파일 보기 프로젝트 열기: golfandsurf/Campah

Private Properties

프로퍼티 타입 설명
GetExceptionMessage string

공개 메소드들

메소드 설명
DeleteTextObject ( ) : void

Will remove the text object

RenderTextObject ( ) : void

Will render the Text Object

SetBGColor ( byte transparent, byte red, byte green, byte blue ) : void

Set the background color of the text

SetFont ( string type, short height ) : void

Sets the font type and height

SetFontColor ( byte transparent, byte red, byte green, byte blue ) : void

Sets the Color of the font

SetFontColor ( byte transparent, byte red, byte green, byte blue, bool visible, bool bold, bool italic, bool rightJustified ) : void

Sets the Color of the font

SetLocation ( float horizontal, float vertical ) : void

Set the location of the text

TextObject ( int instanceID ) : System

Constructor

UpdateTextObject ( ) : void

Will update the text object after changes

UpdateTextObject ( string sText ) : void

Will update the text of the object

비공개 메소드들

메소드 설명
GetExceptionMessage ( Colors color ) : string

Generates a parameter error message based on color

메소드 상세

DeleteTextObject() 공개 메소드

Will remove the text object
public DeleteTextObject ( ) : void
리턴 void

RenderTextObject() 공개 메소드

Will render the Text Object
public RenderTextObject ( ) : void
리턴 void

SetBGColor() 공개 메소드

Set the background color of the text
public SetBGColor ( byte transparent, byte red, byte green, byte blue ) : void
transparent byte Transparency level (0-255)
red byte Red depth (0-255)
green byte Green depth (0-255)
blue byte Blue depth (0-255)
리턴 void

SetFont() 공개 메소드

Sets the font type and height
public SetFont ( string type, short height ) : void
type string Type of font
height short Height of font
리턴 void

SetFontColor() 공개 메소드

Sets the Color of the font
public SetFontColor ( byte transparent, byte red, byte green, byte blue ) : void
transparent byte Transparency level (0-255)
red byte Red depth (0-255)
green byte Green depth (0-255)
blue byte Blue depth (0-255)
리턴 void

SetFontColor() 공개 메소드

Sets the Color of the font
public SetFontColor ( byte transparent, byte red, byte green, byte blue, bool visible, bool bold, bool italic, bool rightJustified ) : void
transparent byte Transparency level (0-255)
red byte Red depth (0-255)
green byte Green depth (0-255)
blue byte Blue depth (0-255)
visible bool If the font is visible or not
bold bool If the font should be in bold
italic bool If the font should be in italic
rightJustified bool If the font should be right justified
리턴 void

SetLocation() 공개 메소드

Set the location of the text
public SetLocation ( float horizontal, float vertical ) : void
horizontal float
vertical float
리턴 void

TextObject() 공개 메소드

Constructor
public TextObject ( int instanceID ) : System
instanceID int Instance ID generated by FFACE
리턴 System

UpdateTextObject() 공개 메소드

Will update the text object after changes
public UpdateTextObject ( ) : void
리턴 void

UpdateTextObject() 공개 메소드

Will update the text of the object
public UpdateTextObject ( string sText ) : void
sText string
리턴 void