Search
GdiGraphics.IsVisible Method (Int32, Int32, Int32, Int32)
See Also
 





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

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

public virtual bool IsVisible (
    int x,
    int y,
    int width,
    int height
)

Visual Basic  Copy Code

Public Overridable Function IsVisible( _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer _
) As Boolean

 Parameters

x
The x-coordinate of the upper-left corner of the rectangle to test for visibility.
y
The y-coordinate of the upper-left corner of the rectangle to test for visibility.
width
The width of the rectangle to test for visibility.
height
The height of the rectangle to test for visibility.

 Return Value

This method returns true if the rectangle defined by the x, y, width, and height parameters is contained within the visible clip region of this GdiGraphics object; otherwise, false.

 See Also