Table of Contents

Method Union

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Union(XRect)

Sets current rectangle to the union of the current rectangle and the specified rectangle.

public void Union(XRect rect)

Parameters

rect XRect

Union(XRect, XRect)

Returns the union of two rectangles.

public static XRect Union(XRect rect1, XRect rect2)

Parameters

rect1 XRect
rect2 XRect

Returns

XRect

Union(XPoint)

Sets current rectangle to the union of the current rectangle and the specified point.

public void Union(XPoint point)

Parameters

point XPoint

Union(XRect, XPoint)

Returns the union of a rectangle and a point.

public static XRect Union(XRect rect, XPoint point)

Parameters

rect XRect
point XPoint

Returns

XRect