Additional options possible for a render context
HTML5
optionalversion:Null<String>
optionalpreserveDrawingBuffer:Null<Bool>
Whether to preserve the `HTMLCanvas`'s image data after rendering
optionalbackground:Null<Int>
An optional `background` property to be provided to rendering,
a value of `null` means no background color.
optionalantialiasing:Null<Int>
Whether to enable anti-aliasing, `0` is disabled, `2` enables
2x2 anti-aliasing or `4` enables 4x4 anti-aliasing.
Android, Flash, Linux, Mac, Windows, iOS
optionalbackground:Null<Int>
An optional background
property to be provided to rendering,
a value of null
means no background color.
optionalantialiasing:Null<Int>
Whether to enable anti-aliasing, 0
is disabled, 2
enables
2x2 anti-aliasing or 4
enables 4x4 anti-aliasing.