C# Class WTTableCell, FutilePrototyper

Inheritance: WTEntity
Exibir arquivo Open project: wtrebella/FutilePrototyper Class Usage Examples

Public Properties

Property Type Description
bottomLineSpriteComponent WTSpriteComponent,
centerLabelComponent WTLabelComponent,
leftLabelComponent WTLabelComponent,
rightSpriteComponent WTSpriteComponent,
tableCellType TableCellType

Public Methods

Method Description
AddCenterLabel ( string fontName, string labelString, Color labelColor, float labelScale ) : void
AddLeftLabel ( string fontName, string labelString, Color labelColor, float labelScale ) : void
AddLineBreaksToString ( string stringToBreak, int charsPerRow ) : string
AddRightSprite ( string imageName, float spriteScale ) : void
LocalRectContainsTouch ( FTouch, touch ) : bool
WTTableCell ( string name, float horizontalPadding, float verticalPadding, float width, Color backgroundColor, TableCellType type ) : System.Collections

Method Details

AddCenterLabel() public method

public AddCenterLabel ( string fontName, string labelString, Color labelColor, float labelScale ) : void
fontName string
labelString string
labelColor Color
labelScale float
return void

AddLeftLabel() public method

public AddLeftLabel ( string fontName, string labelString, Color labelColor, float labelScale ) : void
fontName string
labelString string
labelColor Color
labelScale float
return void

AddLineBreaksToString() public method

public AddLineBreaksToString ( string stringToBreak, int charsPerRow ) : string
stringToBreak string
charsPerRow int
return string

AddRightSprite() public method

public AddRightSprite ( string imageName, float spriteScale ) : void
imageName string
spriteScale float
return void

LocalRectContainsTouch() public method

public LocalRectContainsTouch ( FTouch, touch ) : bool
touch FTouch,
return bool

WTTableCell() public method

public WTTableCell ( string name, float horizontalPadding, float verticalPadding, float width, Color backgroundColor, TableCellType type ) : System.Collections
name string
horizontalPadding float
verticalPadding float
width float
backgroundColor Color
type TableCellType
return System.Collections

Property Details

bottomLineSpriteComponent public_oe property

public WTSpriteComponent, bottomLineSpriteComponent
return WTSpriteComponent,

centerLabelComponent public_oe property

public WTLabelComponent, centerLabelComponent
return WTLabelComponent,

leftLabelComponent public_oe property

public WTLabelComponent, leftLabelComponent
return WTLabelComponent,

rightSpriteComponent public_oe property

public WTSpriteComponent, rightSpriteComponent
return WTSpriteComponent,

tableCellType public_oe property

public TableCellType tableCellType
return TableCellType