Table of Contents

Method Offset

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Offset(XVector)

Moves a rectangle by the specified amount.

public void Offset(XVector offsetVector)

Parameters

offsetVector XVector

Offset(double, double)

Moves a rectangle by the specified amount.

public void Offset(double offsetX, double offsetY)

Parameters

offsetX double
offsetY double

Offset(XRect, XVector)

Returns a rectangle that is offset from the specified rectangle by using the specified vector.

public static XRect Offset(XRect rect, XVector offsetVector)

Parameters

rect XRect
offsetVector XVector

Returns

XRect

Offset(XRect, double, double)

Returns a rectangle that is offset from the specified rectangle by using specified horizontal and vertical amounts.

public static XRect Offset(XRect rect, double offsetX, double offsetY)

Parameters

rect XRect
offsetX double
offsetY double

Returns

XRect