GraphicsPath.IsVisible Method (PointF, Graphics)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Indicates whether the specified point is contained within this GraphicsPath.

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

public bool IsVisible(
	PointF pt,
	Graphics graphics


Type: System.Drawing.PointF

A PointF that represents the point to test.

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; 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