Partager via


RectangleD.ContainsX(Double) Method

Definition

Determines if the X coordinate is contained within this RectangleD structure.

public:
 bool ContainsX(double x);
public bool ContainsX (double x);
member this.ContainsX : double -> bool
Public Function ContainsX (x As Double) As Boolean

Parameters

x
Double

The x-coordinate of the point to test.

Returns

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

Applies to