Table of Contents

Method Set

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

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

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

public static bool Set(nint handle, int x, int y, int width, int height)

Parameters

handle nint
x int

The horizontal coordinate.

y int

The vertical coordinate.

width int

The width.

height int

The height.

Returns

bool

true if the operation was executed successfully; otherwise, false.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaRectSet(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32).