Graphics.IsVisible

IsVisible(PointF)

Indicates whether the specified PointF structure is contained within the visible clip region of this Graphics.

public bool IsVisible(PointF point)
ParameterTypeDescription
pointPointFPointF structure to test for visibility.

Return Value

true if the point defined by the point parameter is contained within the visible clip region of this Graphics; otherwise, false.

See Also


IsVisible(int, int, int, int)

Indicates whether the rectangle specified by a pair of coordinates, a width, and a height is contained within the visible clip region of this Graphics.

public bool IsVisible(int x, int y, int width, int height)
ParameterTypeDescription
xInt32The x-coordinate of the upper-left corner of the rectangle to test for visibility.
yInt32The y-coordinate of the upper-left corner of the rectangle to test for visibility.
widthInt32Width of the rectangle to test for visibility.
heightInt32Height of the rectangle to test for visibility.

Return Value

trueif the rectangle defined by the x, y, width, and height parameters is contained within the visible clip region of this Graphics; otherwise, false.

See Also


IsVisible(Rectangle)

Indicates whether the rectangle specified by a Rectangle structure is contained within the visible clip region of this Graphics.

public bool IsVisible(Rectangle rect)
ParameterTypeDescription
rectRectangleRectangle structure to test for visibility.

Return Value

true if the rectangle specified by the rect parameter is contained within the visible clip region of this Graphics; otherwise, false.

See Also


IsVisible(float, float, float, float)

Indicates whether the rectangle specified by a pair of coordinates, a width, and a height is contained within the visible clip region of this Graphics.

public bool IsVisible(float x, float y, float width, float height)
ParameterTypeDescription
xSingleThe x-coordinate of the upper-left corner of the rectangle to test for visibility.
ySingleThe y-coordinate of the upper-left corner of the rectangle to test for visibility.
widthSingleWidth of the rectangle to test for visibility.
heightSingleHeight of the rectangle to test for visibility.

Return Value

trueif the rectangle defined by the x, y, width, and height parameters is contained within the visible clip region of this Graphics; otherwise, false.

See Also


IsVisible(RectangleF)

Indicates whether the rectangle specified by a RectangleF structure is contained within the visible clip region of this Graphics.

public bool IsVisible(RectangleF rect)
ParameterTypeDescription
rectRectangleFRectangleF structure to test for visibility.

Return Value

true if the rectangle specified by the rect parameter is contained within the visible clip region of this Graphics; otherwise, false.

See Also


IsVisible(int, int)

Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this Graphics.

public bool IsVisible(int x, int y)
ParameterTypeDescription
xInt32The x-coordinate of the point to test for visibility.
yInt32The y-coordinate of the point to test for visibility.

Return Value

true if the point defined by the x and y parameters is contained within the visible clip region of this Graphics; otherwise, false.

See Also


IsVisible(Point)

Indicates whether the specified Point structure is contained within the visible clip region of this Graphics.

public bool IsVisible(Point point)
ParameterTypeDescription
pointPointPoint structure to test for visibility.

Return Value

true if the point is contained within the visible clip region of this Graphics; otherwise, false.

See Also


IsVisible(float, float)

Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this Graphics.

public bool IsVisible(float x, float y)
ParameterTypeDescription
xSingleThe x-coordinate of the point to test for visibility.
ySingleThe y-coordinate of the point to test for visibility.

Return Value

true if the point defined by the x and y parameters is contained within the visible clip region of this Graphics; otherwise, false.

See Also