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<IMaaRectBuffer>, IMaaDisposableHandle<nint>, IMaaDisposable, IDisposable

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 value.

Width

Gets the width value.

X

Gets the horizontal coordinate.

Y

Gets the vertical coordinate.

Methods

CopyTo(IMaaRectBuffer)

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

Get(nint, out int, out int, out int, out int)

Gets values of a MaaFramework.Binding.Buffers.IMaaRectBuffer.

GetValues(out int, out int, out int, out int)

Gets values of a MaaFramework.Binding.Buffers.IMaaRectBuffer.

ReleaseHandle()

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

Set(nint, int, int, int, int)

Sets values of a MaaFramework.Binding.Buffers.IMaaRectBuffer.

SetValues(int, int, int, int)

Sets values of a MaaFramework.Binding.Buffers.IMaaRectBuffer.

ToString()

Returns a string that represents the current object.