Share via


CanvasState Constructors

Definition

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.

Applies to