Table of Contents

Method Contains

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

Contains(double, double)

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

public bool Contains(double x, double y)

Parameters

x double

The x-coordinate of the point to test.

y double

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 SvgRect structure; otherwise false.

Contains(SvgPoint)

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

public bool Contains(SvgPoint pt)

Parameters

pt SvgPoint

The SvgPoint to test.

Returns

bool

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

Contains(SvgRect)

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

public bool Contains(SvgRect rect)

Parameters

rect SvgRect

The SvgRect 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 SvgRect; otherwise false.