IsVisible

Region.IsVisible method (1 of 15)

Tests whether the specified point is contained within this Region.

public bool IsVisible(float x, float y)
Parameter Type Description
x Single The x-coordinate of the point to test.
y Single The y-coordinate of the point to test.

Return Value

True when the specified point is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (2 of 15)

Tests whether the specified PointF structure is contained within this Region.

public bool IsVisible(PointF point)
Parameter Type Description
point PointF The PointF structure to test.

Return Value

true when point is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (3 of 15)

Tests whether the specified point is contained within this Region when drawn using the specified Graphics.

public bool IsVisible(float x, float y, Graphics g)
Parameter Type Description
x Single The x-coordinate of the point to test.
y Single The y-coordinate of the point to test.
g Graphics A Graphics that represents a graphics context.

Return Value

True when the specified point is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (4 of 15)

Tests whether the specified PointF structure is contained within this Region when drawn using the specified Graphics.

public bool IsVisible(PointF point, Graphics g)
Parameter Type Description
point PointF The PointF structure to test.
g Graphics A Graphics that represents a graphics context.

Return Value

true when point is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (5 of 15)

Tests whether any portion of the specified rectangle is contained within this Region.

public bool IsVisible(float x, float y, float width, float height)
Parameter Type Description
x Single The x-coordinate of the upper-left corner of the rectangle to test.
y Single The y-coordinate of the upper-left corner of the rectangle to test.
width Single The width of the rectangle to test.
height Single The height of the rectangle to test.

Return Value

true when any portion of the specified rectangle is contained within this Region object; otherwise, false.

See Also


Region.IsVisible method (6 of 15)

Tests whether any portion of the specified RectangleF structure is contained within this Region.

public bool IsVisible(RectangleF rect)
Parameter Type Description
rect RectangleF The RectangleF structure to test.

Return Value

true when any portion of rect is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (7 of 15)

Tests whether any portion of the specified rectangle is contained within this Region when drawn using the specified Graphics.

public bool IsVisible(float x, float y, float width, float height, Graphics g)
Parameter Type Description
x Single The x-coordinate of the upper-left corner of the rectangle to test.
y Single The y-coordinate of the upper-left corner of the rectangle to test.
width Single The width of the rectangle to test.
height Single The height of the rectangle to test.
g Graphics A Graphics that represents a graphics context.

Return Value

true when any portion of the specified rectangle is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (8 of 15)

Tests whether any portion of the specified RectangleF structure is contained within this Region when drawn using the specified Graphics.

public bool IsVisible(RectangleF rect, Graphics g)
Parameter Type Description
rect RectangleF The RectangleF structure to test.
g Graphics A Graphics that represents a graphics context.

Return Value

true when rect is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (9 of 15)

Tests whether the specified point is contained within this Region object when drawn using the specified Graphics object.

public bool IsVisible(int x, int y, Graphics g)
Parameter Type Description
x Int32 The x-coordinate of the point to test.
y Int32 The y-coordinate of the point to test.
g Graphics A Graphics that represents a graphics context.

Return Value

true when the specified point is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (10 of 15)

Tests whether the specified Point structure is contained within this Region.

public bool IsVisible(Point point)
Parameter Type Description
point Point The Point structure to test.

Return Value

true when point is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (11 of 15)

Tests whether the specified Point structure is contained within this Region when drawn using the specified Graphics.

public bool IsVisible(Point point, Graphics g)
Parameter Type Description
point Point The Point structure to test.
g Graphics A Graphics that represents a graphics context.

Return Value

true when point is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (12 of 15)

Tests whether any portion of the specified rectangle is contained within this Region.

public bool IsVisible(int x, int y, int width, int height)
Parameter Type Description
x Int32 The x-coordinate of the upper-left corner of the rectangle to test.
y Int32 The y-coordinate of the upper-left corner of the rectangle to test.
width Int32 The width of the rectangle to test.
height Int32 The height of the rectangle to test.

Return Value

true when any portion of the specified rectangle is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (13 of 15)

Tests whether any portion of the specified Rectangle structure is contained within this Region.

public bool IsVisible(Rectangle rect)
Parameter Type Description
rect Rectangle The Rectangle structure to test.

Return Value

This method returns true when any portion of rect is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (14 of 15)

Tests whether any portion of the specified rectangle is contained within this Region when drawn using the specified Graphics.

public bool IsVisible(int x, int y, int width, int height, Graphics g)
Parameter Type Description
x Int32 The x-coordinate of the upper-left corner of the rectangle to test.
y Int32 The y-coordinate of the upper-left corner of the rectangle to test.
width Int32 The width of the rectangle to test.
height Int32 The height of the rectangle to test.
g Graphics A Graphics that represents a graphics context.

Return Value

true when any portion of the specified rectangle is contained within this Region; otherwise, false.

See Also


Region.IsVisible method (15 of 15)

Tests whether any portion of the specified Rectangle structure is contained within this Region when drawn using the specified Graphics.

public bool IsVisible(Rectangle rect, Graphics g)
Parameter Type Description
rect Rectangle The Rectangle structure to test.
g Graphics A Graphics that represents a graphics context.

Return Value

true when any portion of the rect is contained within this Region; otherwise, false.

See Also