Skip to content

Mojo graphics canvas drawquadimage

mojo:mojo.graphics.Canvas.DrawQuadImage

Method DrawQuadImage:Void( x0:Float,y0:Float,x1:Float,y1:Float,x2:Float,y2:Float,x3:Float,y3:Float,srcImage:Image )#
Method DrawQuadImage:Void( x0:Float,y0:Float,x1:Float,y1:Float,x2:Float,y2:Float,x3:Float,y3:Float,srcImage:Image,shader:Shader )#

Draws a quad from a source image.

The source image is used and drawn at the given quad position in the current Color using the current BlendMode.

The quad vertex coordinates are also transformed by the current Matrix.