C# Class Nez.DebugDrawItem

Show file Open project: prime31/Nez

Public Properties

Property Type Description
bitmapFont BitmapFont
color Color
duration float
end Vector2
position Vector2
rectangle Microsoft.Xna.Framework.Rectangle
scale float
size int
spriteFont NezSpriteFont
start Vector2
text string
x float

Public Methods

Method Description
DebugDrawItem ( BitmapFont bitmapFont, String text, Vector2 position, Color color, float duration, float scale ) : System
DebugDrawItem ( NezSpriteFont spriteFont, String text, Vector2 position, Color color, float duration, float scale ) : System
DebugDrawItem ( Rectangle rectangle, Color color, float duration ) : System
DebugDrawItem ( Vector2 start, Vector2 end, Color color, float duration ) : System
DebugDrawItem ( float x, float y, int size, Color color, float duration ) : System
DebugDrawItem ( string text, Color color, float duration, float scale ) : System
draw ( Graphics graphics ) : bool

returns true if we are done with this debug draw item

getHeight ( ) : float

Method Details

DebugDrawItem() public method

public DebugDrawItem ( BitmapFont bitmapFont, String text, Vector2 position, Color color, float duration, float scale ) : System
bitmapFont BitmapFont
text String
position Vector2
color Color
duration float
scale float
return System

DebugDrawItem() public method

public DebugDrawItem ( NezSpriteFont spriteFont, String text, Vector2 position, Color color, float duration, float scale ) : System
spriteFont NezSpriteFont
text String
position Vector2
color Color
duration float
scale float
return System

DebugDrawItem() public method

public DebugDrawItem ( Rectangle rectangle, Color color, float duration ) : System
rectangle Microsoft.Xna.Framework.Rectangle
color Color
duration float
return System

DebugDrawItem() public method

public DebugDrawItem ( Vector2 start, Vector2 end, Color color, float duration ) : System
start Vector2
end Vector2
color Color
duration float
return System

DebugDrawItem() public method

public DebugDrawItem ( float x, float y, int size, Color color, float duration ) : System
x float
y float
size int
color Color
duration float
return System

DebugDrawItem() public method

public DebugDrawItem ( string text, Color color, float duration, float scale ) : System
text string
color Color
duration float
scale float
return System

draw() public method

returns true if we are done with this debug draw item
public draw ( Graphics graphics ) : bool
graphics Graphics
return bool

getHeight() public method

public getHeight ( ) : float
return float

Property Details

bitmapFont public property

public BitmapFont bitmapFont
return BitmapFont

color public property

public Color color
return Color

duration public property

public float duration
return float

end public property

public Vector2 end
return Vector2

position public property

public Vector2 position
return Vector2

rectangle public property

public Rectangle,Microsoft.Xna.Framework rectangle
return Microsoft.Xna.Framework.Rectangle

scale public property

public float scale
return float

size public property

public int size
return int

spriteFont public property

public NezSpriteFont,Nez spriteFont
return NezSpriteFont

start public property

public Vector2 start
return Vector2

text public property

public string text
return string

x public property

public float x
return float