System.Drawing.Drawing2D.GraphicsPath.IsVisible Method

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

Syntax

public bool IsVisible (int x, int y, System.Drawing.Graphics graphics)

Parameters

x
The x-coordinate of the point to test.
y
The y-coordinate of 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 System.Drawing.Drawing2D.GraphicsPath; otherwise, false.

Remarks

The coordinates of the point to be tested are given in world coordinates. The transform matrix of graphics 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