GraphicsPath.IsVisible Method (Single, Single, Graphics)

 

Indicates whether the specified point is contained within this GraphicsPath in the visible clip region of the specified Graphics.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public bool IsVisible(
	float x,
	float y,
	Graphics graphics
)

Parameters

x
Type: System.Single

The x-coordinate of the point to test.

y
Type: System.Single

The y-coordinate of the point to test.

graphics
Type: System.Drawing.Graphics

The Graphics for which to test visibility.

Return Value

Type: System.Boolean

This method returns true if the specified point is contained within this GraphicsPath; otherwise, false.

The coordinates of the point to be tested are given in world coordinates. The transform matrix of the graphics parameter is temporarily applied before testing for visibility.

.NET Framework
Available since 1.1
Return to top
Show: