Table of Contents

Operator operator +

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

operator +(XVector, XVector)

Adds two vectors and returns the result as a vector.

public static XVector operator +(XVector vector1, XVector vector2)

Parameters

vector1 XVector

The first vector to add.

vector2 XVector

The second vector to add.

Returns

XVector

operator +(XVector, XPoint)

Translates a point by the specified vector and returns the resulting point.

public static XPoint operator +(XVector vector, XPoint point)

Parameters

vector XVector

The vector used to translate point.

point XPoint

The point to translate.

Returns

XPoint