ScalingCanvas(ICanvas) Constructor
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.
Initializes a new instance of the ScalingCanvas class.
public:
ScalingCanvas(Microsoft::Maui::Graphics::ICanvas ^ wrapped);
public ScalingCanvas(Microsoft.Maui.Graphics.ICanvas wrapped);
new Microsoft.Maui.Graphics.ScalingCanvas : Microsoft.Maui.Graphics.ICanvas -> Microsoft.Maui.Graphics.ScalingCanvas
Public Sub New (wrapped As ICanvas)
Parameters
- wrapped
- ICanvas
The canvas to wrap and apply scaling to.
Exceptions
Thrown when wrapped is null.