Table of Contents

Method OffsetView

Namespace
PaintDotNet
Assembly
PaintDotNet.Primitives.dll

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

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

Parameters

region RegionPtr<T>
offset Point2Int32

Returns

RegionPtrOffsetView<T>

Type Parameters

T

OffsetView<T>(RegionPtr<T>, Vector2Int32)

public static RegionPtrOffsetView<T> OffsetView<T>(this RegionPtr<T> region, Vector2Int32 offset) where T : unmanaged

Parameters

region RegionPtr<T>
offset Vector2Int32

Returns

RegionPtrOffsetView<T>

Type Parameters

T

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

public static RegionPtrOffsetView<T> OffsetView<T>(this RegionPtr<T> region, int offsetX, int offsetY) where T : unmanaged

Parameters

region RegionPtr<T>
offsetX int
offsetY int

Returns

RegionPtrOffsetView<T>

Type Parameters

T