Table of Contents

Method Offset

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Primitives.dll

Offset(RectFloat, Point2Float)

public static RectFloat Offset(RectFloat rect, Point2Float offset)

Parameters

rect RectFloat
offset Point2Float

Returns

RectFloat

Offset(RectFloat, Vector2Float)

public static RectFloat Offset(RectFloat rect, Vector2Float offset)

Parameters

rect RectFloat
offset Vector2Float

Returns

RectFloat

Offset(RectFloat, float, float)

public static RectFloat Offset(RectFloat rect, float dx, float dy)

Parameters

rect RectFloat
dx float
dy float

Returns

RectFloat

Offset(float, float)

public void Offset(float dx, float dy)

Parameters

dx float
dy float

Offset(Point2Float)

public void Offset(Point2Float dpt)

Parameters

dpt Point2Float