C# Class Nez.DebugDrawItem

显示文件 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_oe property

public BitmapFont bitmapFont
return BitmapFont

color public_oe property

public Color color
return Color

duration public_oe property

public float duration
return float

end public_oe property

public Vector2 end
return Vector2

position public_oe property

public Vector2 position
return Vector2

rectangle public_oe property

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

scale public_oe property

public float scale
return float

size public_oe property

public int size
return int

spriteFont public_oe property

public NezSpriteFont,Nez spriteFont
return NezSpriteFont

start public_oe property

public Vector2 start
return Vector2

text public_oe property

public string text
return string

x public_oe property

public float x
return float