Releases the unmanaged resources used by the SKCanvas and optionally releases the managed resources.
protected override void Dispose (bool disposing);
true to release both managed and unmanaged resources;
false to release only unmanaged resources.
Always dispose the object before you release your last reference to the SKCanvas. Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer.