- clear
void clear(Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
- context
inout(CanvasRenderingContext) context()
Undocumented in source. Be warned that the author may not have intended to support it.
- createMaterial
Material createMaterial(string source)
Undocumented in source. Be warned that the author may not have intended to support it.
- fill
void fill(Path path, FillOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
- fillIRect
void fillIRect(IVec2 pos, IVec2 size, FillOptions options)
Undocumented in source. Be warned that the author may not have intended to support it.
- size
IVec2 size()
Undocumented in source. Be warned that the author may not have intended to support it.
- size
void size(IVec2 newSize)
Resizes the canvas. The contents of the canvas after this operation are unspecified