Search
IGraphics.IsVisible Method (Single, Single, Single, Single)
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 IGraphics object.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

bool IsVisible (
    float x,
    float y,
    float width,
    float height
)

Visual Basic  Copy Code

Function IsVisible( _
    x As Single, _
    y As Single, _
    width As Single, _
    height As Single _
) 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 IGraphics object; otherwise, false.

 See Also