mojo:mojo.graphics.Canvas.DrawRect

Method DrawRect:Void( x:Float,y:Float,w:Float,h:Float )
Method DrawRect:Void( rect:std.geom.Rectf )
Method DrawRect:Void( rect:std.geom.Rectf,srcImage:Image )
Method DrawRect:Void( x:Float,y:Float,width:Float,height:Float,srcImage:Image )
Method DrawRect:Void( rect:std.geom.Rectf,srcImage:Image,srcRect:std.geom.Recti )
Method DrawRect:Void( x:Float,y:Float,width:Float,height:Float,srcImage:Image,srcX:Int,srcY:Int )
Method DrawRect:Void( x:Float,y:Float,width:Float,height:Float,srcImage:Image,srcX:Int,srcY:Int,srcWidth:Int,srcHeight:Int )

Draws a rectangle.

Draws a rectangle in the current Color using the current BlendMode.

The rectangle vertex coordinates are also transform by the current Matrix.