staticvideoPipeline:PipelineState
staticcreateColoredPipeline(structure:VertexStructure):PipelineState
staticcreateColoredVertexStructure():VertexStructure
staticcreateImagePipeline(structure:VertexStructure):PipelineState
staticcreateImageVertexStructure():VertexStructure
staticcreateTextPipeline(structure:VertexStructure):PipelineState
staticcreateTextVertexStructure():VertexStructure
new(canvas:Canvas)
imagePainter:ImageShaderPainter
color:Color
The color value is used for geometric primitives, images, and text. Remember to set it back to white to draw images unaltered.
font:Font
fontSize:Int
imageScaleQuality:ImageScaleQuality
mipmapScaleQuality:ImageScaleQuality
opacity:Float
pipeline:PipelineState
transformation:FastMatrix3
drawScaledImage(img:Image, dx:FastFloat, dy:FastFloat, dw:FastFloat, dh:FastFloat):Void
dx, dy, dw, dh arguments is the rectangle to draw into the destination context
dx, dy, dw, dh
drawSubImage(img:Image, x:FastFloat, y:FastFloat, sx:FastFloat, sy:FastFloat, sw:FastFloat, sh:FastFloat):Void
sx, sy, sw, sh arguments is the sub-rectangle of the source img image
sx, sy, sw, sh
img
popOpacity():Float
popTransformation():FastMatrix3
pushOpacity(opacity:Float):Void
pushRotation(angle:FastFloat, centerx:FastFloat, centery:FastFloat):Void
pushScale(x:FastFloat, y:FastFloat):Void
inlinepushTransformation(trans:FastMatrix3):Void
pushTranslation(tx:FastFloat, ty:FastFloat):Void
rotate(angle:FastFloat, centerx:FastFloat, centery:FastFloat):Void
scale(x:FastFloat, y:FastFloat):Void
translate(tx:FastFloat, ty:FastFloat):Void