Table of Contents

Class MaaRectBuffer

Namespace
MaaFramework.Binding.Buffers
Assembly
MaaFramework.Binding.Native.dll

A class providing a reference implementation for Maa Rect Buffer section of MaaFramework.Binding.Interop.Native.MaaBuffer.

public class MaaRectBuffer : MaaDisposableHandle<nint>, IMaaRectBuffer<nint>, IMaaRectBuffer, IMaaBuffer<nint, IMaaRectBuffer>, IMaaBuffer<IMaaRectBuffer>, IMaaDisposableHandle<nint>, IMaaDisposable, IDisposable, IMaaRectBufferStatic<nint>

Inheritance

Implements

Inherited Members

Constructors

MaaRectBuffer(nint)

Creates a MaaFramework.Binding.Buffers.MaaRectBuffer instance.

MaaRectBuffer()

Creates a MaaFramework.Binding.Buffers.MaaRectBuffer instance.

Properties

Height

Gets the height.

Width

Gets the width.

X

Gets the horizontal coordinate.

Y

Gets the vertical coordinate.

Methods

Deconstruct(out int, out int, out int, out int)

Deconstructs the current MaaFramework.Binding.Buffers.IMaaRectBuffer.

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

ToString()

Returns a string that represents the current object.

TryCopyTo(nint)

Copies all values of the current buffer to the specified buffer.

TryCopyTo(IMaaRectBuffer)

Copies all values of the current buffer to the specified buffer.

TryGetValues(out int, out int, out int, out int)

Gets values from a MaaRectBuffer.

TryGetValues(nint, out int, out int, out int, out int)

Gets values from a MaaRectBuffer.

TryGetValues(out int, out int, out int, out int, Func<nint, bool>)

Gets values from a function using MaaRectBuffer.

TrySetValues(int, int, int, int)

Sets values to a MaaRectBuffer.

TrySetValues(nint, int, int, int, int)

Sets values to a MaaRectBuffer.

TrySetValues(int, int, int, int, Func<nint, bool>)

Sets values to a function using MaaRectBuffer.