C# Class SadConsole.Shapes.Box

Exibir arquivo Open project: Thraka/SadConsole Class Usage Examples

Public Properties

Property Type Description
BorderBackground Microsoft.Xna.Framework.Color
BottomLeftCharacter int
BottomRightCharacter int
BottomSideCharacter int
DrawTransparency bool
Fill bool
FillColor Microsoft.Xna.Framework.Color
Foreground Microsoft.Xna.Framework.Color
Height int
LeftSideCharacter int
Location Microsoft.Xna.Framework.Point
RightSideCharacter int
TopLeftCharacter int
TopRightCharacter int
TopSideCharacter int
Width int

Public Methods

Method Description
Box ( int sidesCharacter, int topBottomCharacter, int topLeftCharacter, int topRightCharacter, int bottomRightCharacter, int bottomLeftCharacter, int width, int height ) : Microsoft.Xna.Framework
Box ( int sidesCharacter, int topBottomCharacter, int topLeftCharacter, int topRightCharacter, int bottomRightCharacter, int bottomLeftCharacter, int width, int height, Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background, bool fill, Microsoft.Xna.Framework.Color fillColor ) : Microsoft.Xna.Framework
Draw ( SurfaceEditor surface ) : void
GetDefaultBox ( ) : Box

Private Methods

Method Description
PlotCell ( SurfaceEditor surface, int x, int y, int glyph, bool fillMe = false ) : void

Method Details

Box() public method

public Box ( int sidesCharacter, int topBottomCharacter, int topLeftCharacter, int topRightCharacter, int bottomRightCharacter, int bottomLeftCharacter, int width, int height ) : Microsoft.Xna.Framework
sidesCharacter int
topBottomCharacter int
topLeftCharacter int
topRightCharacter int
bottomRightCharacter int
bottomLeftCharacter int
width int
height int
return Microsoft.Xna.Framework

Box() public method

public Box ( int sidesCharacter, int topBottomCharacter, int topLeftCharacter, int topRightCharacter, int bottomRightCharacter, int bottomLeftCharacter, int width, int height, Microsoft.Xna.Framework.Color foreground, Microsoft.Xna.Framework.Color background, bool fill, Microsoft.Xna.Framework.Color fillColor ) : Microsoft.Xna.Framework
sidesCharacter int
topBottomCharacter int
topLeftCharacter int
topRightCharacter int
bottomRightCharacter int
bottomLeftCharacter int
width int
height int
foreground Microsoft.Xna.Framework.Color
background Microsoft.Xna.Framework.Color
fill bool
fillColor Microsoft.Xna.Framework.Color
return Microsoft.Xna.Framework

Draw() public method

public Draw ( SurfaceEditor surface ) : void
surface SurfaceEditor
return void

GetDefaultBox() public static method

public static GetDefaultBox ( ) : Box
return Box

Property Details

BorderBackground public_oe property

public Color,Microsoft.Xna.Framework BorderBackground
return Microsoft.Xna.Framework.Color

BottomLeftCharacter public_oe property

public int BottomLeftCharacter
return int

BottomRightCharacter public_oe property

public int BottomRightCharacter
return int

BottomSideCharacter public_oe property

public int BottomSideCharacter
return int

DrawTransparency public_oe property

public bool DrawTransparency
return bool

Fill public_oe property

public bool Fill
return bool

FillColor public_oe property

public Color,Microsoft.Xna.Framework FillColor
return Microsoft.Xna.Framework.Color

Foreground public_oe property

public Color,Microsoft.Xna.Framework Foreground
return Microsoft.Xna.Framework.Color

Height public_oe property

public int Height
return int

LeftSideCharacter public_oe property

public int LeftSideCharacter
return int

Location public_oe property

public Point,Microsoft.Xna.Framework Location
return Microsoft.Xna.Framework.Point

RightSideCharacter public_oe property

public int RightSideCharacter
return int

TopLeftCharacter public_oe property

public int TopLeftCharacter
return int

TopRightCharacter public_oe property

public int TopRightCharacter
return int

TopSideCharacter public_oe property

public int TopSideCharacter
return int

Width public_oe property

public int Width
return int