Class CoreGraphics.CGImage
Long-lived CGImage wrapper for images that persist across multiple frames. Wraps a native CGImageRef pointer and handles CoreFoundation reference counting. This is the class equivalent to D2D1.Bitmap1 in the Windows runtime.
public class CoreGraphics.CGImage : IDisposable
- Inheritance
-
CoreGraphics.CGImage
- Implements
- Inherited Members
Constructors
CGImage(nint)
public CGImage(nint ptr)
Parameters
ptrnint
Properties
Height
public uint Height { get; }
Property Value
Width
public uint Width { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
~CGImage()
protected ~CGImage()
Operators
implicit operator nint(CGImage?)
public static implicit operator nint(CoreGraphics.CGImage? image)
Parameters
imageCoreGraphics.CGImage