Table of Contents

Method Contains

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

Contains(float, float)

This determines if the specified point is contained within this SvgRectF structure.

public bool Contains(float x, float y)

Parameters

x float

The x-coordinate of the point to test.

y float

The y-coordinate of the point to test.

Returns

bool

This method returns true if the point defined by x and y is contained within this SvgRectF structure; otherwise false.

Contains(SvgPointF)

This determines if the specified point is contained within this SvgRectF structure.

public bool Contains(SvgPointF pt)

Parameters

pt SvgPointF

The SvgPointF to test.

Returns

bool

This method returns true if the point represented by the pt parameter is contained within this SvgRectF structure; otherwise false.

Contains(SvgRectF)

This determines if the rectangular region represented by rect is entirely contained within this SvgRectF structure.

public bool Contains(SvgRectF rect)

Parameters

rect SvgRectF

The SvgRectF to test.

Returns

bool

This method returns true if the rectangular region represented by rect is entirely contained within the rectangular region represented by this SvgRectF; otherwise false.