Methods
drawPath
drawImage
drawImageMesh
vertices or uvs does not hold.
Check out Scripting demos to see a working example.
drawImageMeshInstanced
srcOver. Opacity and the UV transform come
from each instance. Errors as drawImageMesh does.
clipPath
save
restore
transform
modulateOpacity
opacity (0..1).
Stacks multiplicatively and is captured by save()/restore(), so the
common pattern is: renderer:save(); renderer:modulateOpacity(a);
… draw …; renderer:restore().
modulateColor
color into subsequent draw calls, channel by channel.
Stacks and is captured by save()/restore() like modulateOpacity.