System.Drawing.Drawing2D.GraphicsPath.IsVisible Method

Indicates whether the specified point is contained within this System.Drawing.Drawing2D.GraphicsPath.

Syntax

public bool IsVisible (System.Drawing.PointF pt, System.Drawing.Graphics graphics)

Parameters

pt
A System.Drawing.PointF that represents the point to test.
graphics
The System.Drawing.Graphics for which to test visibility.

Returns

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

Remarks

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.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0