CanvasState 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
CanvasState() |
Initializes a new instance of the CanvasState class. |
CanvasState(CanvasState) |
Initializes a new instance of the CanvasState class with properties from another canvas state. |
CanvasState()
- Source:
- CanvasState.cs
- Source:
- CanvasState.cs
- Source:
- CanvasState.cs
Initializes a new instance of the CanvasState class.
protected:
CanvasState();
protected CanvasState();
Protected Sub New ()
Applies to
CanvasState(CanvasState)
- Source:
- CanvasState.cs
- Source:
- CanvasState.cs
- Source:
- CanvasState.cs
Initializes a new instance of the CanvasState class with properties from another canvas state.
protected:
CanvasState(Microsoft::Maui::Graphics::CanvasState ^ prototype);
protected CanvasState(Microsoft.Maui.Graphics.CanvasState prototype);
new Microsoft.Maui.Graphics.CanvasState : Microsoft.Maui.Graphics.CanvasState -> Microsoft.Maui.Graphics.CanvasState
Protected Sub New (prototype As CanvasState)
Parameters
- prototype
- CanvasState
The canvas state to copy properties from.
Exceptions
Thrown when prototype
is null.