SKCanvasView Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SKCanvasView() |
Initializes a new instance of the SKCanvasView class. |
| SKCanvasView(CGRect) |
Initializes the SKCanvasView with the specified frame. |
| SKCanvasView(IntPtr) |
Initializes a new instance of the SKCanvasView class from a native handle. |
SKCanvasView()
SKCanvasView(CGRect)
Initializes the SKCanvasView with the specified frame.
public SKCanvasView(CoreGraphics.CGRect frame);
Parameters
- frame
- CGRect
The frame used by the view.
Applies to
SKCanvasView(IntPtr)
Initializes a new instance of the SKCanvasView class from a native handle.
public SKCanvasView(IntPtr p);
Parameters
- p
- IntPtr
The pointer (handle) to the unmanaged object.
Remarks
This constructor is used by the Xamarin.Mac runtime when creating managed representations of unmanaged objects. It is not intended to be called directly from user code.