Class MaaImageBuffer
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.Native.dll
A class providing a reference implementation for Maa Image Buffer section of MaaFramework.Binding.Interop.Native.MaaBuffer.
public class MaaImageBuffer : MaaDisposableHandle<nint>, IMaaImageBuffer<nint>, IMaaImageBuffer, IMaaBuffer<IMaaImageBuffer>, IMaaDisposableHandle<nint>, IMaaDisposable, IDisposable
Inheritance
Implements
Inherited Members
Constructors
- MaaImageBuffer(nint)
-
Creates a MaaFramework.Binding.Buffers.MaaImageBuffer instance.
- MaaImageBuffer()
-
Creates a MaaFramework.Binding.Buffers.MaaImageBuffer instance.
Properties
- Channels
-
Gets the image channels.
- EncodedDataStream
-
Gets or sets the image encoded data stream.
- Height
-
Gets the image height.
- Info
-
Gets the image info.
- IsEmpty
-
Gets a value indicates whether the image of the MaaFramework.Binding.Buffers.IMaaImageBuffer is empty.
- Type
-
Gets the image type.
- Width
-
Gets the image width.
Methods
- Clear()
-
Clears the image of the MaaFramework.Binding.Buffers.IMaaImageBuffer.
- CopyTo(IMaaImageBuffer)
-
Copies all values of the current buffer to the specified buffer.
- Get(nint, out ulong)
-
Gets the image encoded data.
- GetEncodedData(out ulong)
-
Gets the image encoded data.
- GetRawData()
-
Gets the image raw data.
- ReleaseHandle()
-
When overridden in a derived class, executes the code required to free the handle.
- Set(nint, nint, ulong)
-
Sets the image encoded data.
- SetEncodedData(nint, ulong)
-
Sets the image encoded data.
- SetRawData(nint, int, int, int)
-
Sets the image raw data.
- ToString()
-
Returns a string that represents the current object.