GraphicsPath.IsVisible Method (Point, Graphics)

 

Indicates whether the specified point is contained within this GraphicsPath.

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

public bool IsVisible(
	Point pt,
	Graphics graphics
)

Parameters

pt
Type: System.Drawing.Point

A Point that represents 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.

For an example, see GraphicsPath.IsVisible Method (Int32, Int32, Graphics).

.NET Framework
Available since 1.1
Return to top
Show: