Table of Contents

Method Intersection

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Core.dll

Intersection(SvgRectF)

This replaces this SvgRectF structure with the intersection of itself and the specified SvgRectF structure.

public void Intersection(SvgRectF rect)

Parameters

rect SvgRectF

The rectangle to intersect.

Intersection(SvgRectF, SvgRectF)

Returns a SvgRectF structure that represents the intersection of two rectangles. If there is no intersection, and empty SvgRectF is returned.

public static SvgRectF Intersection(SvgRectF a, SvgRectF b)

Parameters

a SvgRectF

A rectangle to intersect.

b SvgRectF

A rectangle to intersect.

Returns

SvgRectF

A third SvgRectF structure the size of which represents the overlapped area of the two specified rectangles.