Draw

DrawObjectEventHandler.Draw method

Implements this interface to get DrawObject and Bound when rendering.

public virtual void Draw(DrawObject drawObject, float x, float y, float width, float height)
Parameter Type Description
drawObject DrawObject DrawObject will be initialized and returned when rendering
x Single Left of DrawObject
y Single Top of DrawObject
width Single Width of DrawObject
height Single Height of DrawObject

See Also