Share via


SkiaCanvasStateService Class

Definition

Provides services for creating and managing SkiaCanvasState instances.

public ref class SkiaCanvasStateService : IDisposable, Microsoft::Maui::Graphics::ICanvasStateService<Microsoft::Maui::Graphics::Skia::SkiaCanvasState ^>
public class SkiaCanvasStateService : IDisposable, Microsoft.Maui.Graphics.ICanvasStateService<Microsoft.Maui.Graphics.Skia.SkiaCanvasState>
type SkiaCanvasStateService = class
    interface IDisposable
    interface ICanvasStateService<SkiaCanvasState>
Public Class SkiaCanvasStateService
Implements ICanvasStateService(Of SkiaCanvasState), IDisposable
Inheritance
SkiaCanvasStateService
Implements

Constructors

SkiaCanvasStateService()

Methods

CreateCopy(SkiaCanvasState)

Creates a copy of the specified canvas state.

CreateNew(Object)

Creates a new canvas state instance.

Dispose()

Releases all resources used by this canvas state service.

Reset(SkiaCanvasState)

Resets the specified canvas state to default values.

Applies to