다음을 통해 공유


AbstractCanvas<TState> Constructor

Definition

protected:
 AbstractCanvas(Microsoft::Maui::Graphics::ICanvasStateService<TState> ^ stateService, Microsoft::Maui::Graphics::IStringSizeService ^ stringSizeService);
protected AbstractCanvas (Microsoft.Maui.Graphics.ICanvasStateService<TState> stateService, Microsoft.Maui.Graphics.IStringSizeService stringSizeService);
new Microsoft.Maui.Graphics.AbstractCanvas<'State (requires 'State :> Microsoft.Maui.Graphics.CanvasState)> : Microsoft.Maui.Graphics.ICanvasStateService<'State (requires 'State :> Microsoft.Maui.Graphics.CanvasState)> * Microsoft.Maui.Graphics.IStringSizeService -> Microsoft.Maui.Graphics.AbstractCanvas<'State (requires 'State :> Microsoft.Maui.Graphics.CanvasState)>
Protected Sub New (stateService As ICanvasStateService(Of TState), stringSizeService As IStringSizeService)

Parameters

stringSizeService
IStringSizeService

Applies to