proc color*(self: CanvasModulate): Color {.gcsafe, locks: 0.}
proc `color =`*(self: CanvasModulate; val: Color) {.gcsafe, locks: 0.}