Table of Contents

Class MaaImage

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

A non-generic sealed class used to wrap MaaFramework.Binding.Buffers.IMaaImageBuffer.

public sealed record MaaImage : IMaaDisposable, IDisposable, IEquatable<MaaImage>

Inheritance

Implements

Inherited Members

Constructors

MaaImage(IMaaImageBuffer)

A non-generic sealed class used to wrap MaaFramework.Binding.Buffers.IMaaImageBuffer.

Properties

Buffer

The IMaaImageBuffer.

Info

Gets the image info.

IsInvalid

When overridden in a derived class, gets a value indicating whether the unmanaged resources from MaaFramework are invalid.

Methods

Dispose()

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

Load<T>(Stream)

Creates a new instance of the MaaFramework.Binding.MaaImage class from the given stream.

Load<T>(string)

Creates a new instance of the MaaFramework.Binding.MaaImage class from the given file.

Load(IMaaImageBuffer)

Creates a new instance of the MaaFramework.Binding.MaaImage class from the given buffer.

Save(Stream)

Saves this MaaFramework.Binding.MaaImage to the specified stream.

Save(string)

Saves this MaaFramework.Binding.MaaImage to the specified file.

Save(IMaaImageBuffer)

Saves this MaaFramework.Binding.MaaImage to the specified buffer.

ToString()

Returns a string that represents the current object.