- size
- Size of the image context.
- opaque
- If true, the bitmap created is opaque, otherwise it has an alpha channel.
- scale
- Scale factor to apply to the bitmap. If the value specified is zero, the device's scale factor is used.
UIKit keeps a stack of image context, this method creates a new image context, makes it the default and places it at the top of the graphic context stacks.
To restore the previous graphics context, call the UIGraphics.EndImageContext() method.
You can get the current context by calling the UIGraphics.GetCurrentContext() method.
This function can only be invoked from the UI thread.