proc color(self: CanvasModulate): Color {.gcsafe, locks: 0, raises: [], tags: [].}
proc color=(self: CanvasModulate; val: Color) {.gcsafe, locks: 0, raises: [], tags: [].}