Table of Contents

Class DrawingBackendScene

Namespace
SixLabors.ImageSharp.Drawing.Processing.Backends
Assembly
SixLabors.ImageSharp.Drawing.dll

Base type for retained drawing backend scenes.

public abstract class DrawingBackendScene : IDisposable
Inheritance
DrawingBackendScene
Implements
Derived
Inherited Members

Constructors

DrawingBackendScene(Rectangle, IReadOnlyList<IDisposable>?)

Initializes a new instance of the DrawingBackendScene class.

protected DrawingBackendScene(Rectangle bounds, IReadOnlyList<IDisposable>? ownedResources)

Parameters

bounds Rectangle

The target bounds used to create the scene.

ownedResources IReadOnlyList<IDisposable>

Resources that must stay alive for the retained scene.

Properties

Bounds

Gets the target bounds used to create the scene.

public Rectangle Bounds { get; }

Property Value

Rectangle

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

DisposeCore()

Disposes backend-specific resources retained by this scene.

protected virtual void DisposeCore()