GraphicsPath.IsVisible Method (PointF, Graphics)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

pt
Type: System.Drawing.PointF

A PointF 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; 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: