Share via


ICanvasStateService<TState> Interface

Definition

Defines a service for creating and managing canvas state objects.

generic <typename TState>
 where TState : CanvasStatepublic interface class ICanvasStateService
public interface ICanvasStateService<TState> where TState : CanvasState
type ICanvasStateService<'State (requires 'State :> CanvasState)> = interface
Public Interface ICanvasStateService(Of TState)

Type Parameters

TState

The type of canvas state managed by this service, which must derive from CanvasState.

Derived

Methods

CreateCopy(TState)

Creates a copy of an existing canvas state.

CreateNew(Object)

Creates a new canvas state with the specified context.

Applies to