mojo.graphics.Canvas.DrawRect - nitrologic/monkey2 GitHub Wiki
mojo::mojo.graphics.mojo.graphics.Canvas.DrawRect
monkey:monkey.types.Float,y:monkey:monkey.types.Float,w:monkey:monkey.types.Float,h:monkey:monkey.types.Float )
Method DrawRect:Void( x:std:std.geom.Rectf )
Method DrawRect:Void( rect:std:std.geom.Rectf,srcImage:mojo:mojo.graphics.Image )
Method DrawRect:Void( rect:monkey:monkey.types.Float,y:monkey:monkey.types.Float,width:monkey:monkey.types.Float,height:monkey:monkey.types.Float,srcImage:mojo:mojo.graphics.Image )
Method DrawRect:Void( x:std:std.geom.Rectf,srcImage:mojo:mojo.graphics.Image,srcRect:std:std.geom.Recti )
Method DrawRect:Void( rect:monkey:monkey.types.Float,y:monkey:monkey.types.Float,width:monkey:monkey.types.Float,height:monkey:monkey.types.Float,srcImage:mojo:mojo.graphics.Image,srcX:monkey:monkey.types.Int,srcY:monkey:monkey.types.Int )
Method DrawRect:Void( x:monkey:monkey.types.Float,y:monkey:monkey.types.Float,width:monkey:monkey.types.Float,height:monkey:monkey.types.Float,srcImage:mojo:mojo.graphics.Image,srcX:monkey:monkey.types.Int,srcY:monkey:monkey.types.Int,srcWidth:monkey:monkey.types.Int,srcHeight:monkey:monkey.types.Int )
Method DrawRect:Void( x: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.