Table of Contents

Method CheckOffset

Namespace
PaintDotNet
Assembly
PaintDotNet.Primitives.dll

CheckOffset<T>(RegionPtr<T>, int, int)

public static bool CheckOffset<T>(this RegionPtr<T> region, int x, int y) where T : unmanaged

Parameters

region RegionPtr<T>
x int
y int

Returns

bool

Type Parameters

T

CheckOffset<T>(RegionPtr<T>, Point2Int32)

public static bool CheckOffset<T>(this RegionPtr<T> region, Point2Int32 offset) where T : unmanaged

Parameters

region RegionPtr<T>
offset Point2Int32

Returns

bool

Type Parameters

T