GraphicsPath.IsVisible

IsVisible(float, float)

指示指定的点是否位于此 GraphicsPath

public bool IsVisible(float x, float y)
参数类型描述
x单精度要测试的点的 x 坐标。
y单精度要测试的点的 y 坐标。

返回值

如果指定的点位于此 GraphicsPath 中,则此方法返回 true;否则返回 false。

另请参见


IsVisible(PointF)

指示指定的点是否位于此 GraphicsPath

public bool IsVisible(PointF point)
参数类型描述
pointPointF一个表示要测试的点的 PointF

返回值

如果指定的点位于此 GraphicsPath 中,则此方法返回 true;否则返回 false。

另请参见


IsVisible(int, int)

指示指定的点是否位于此 GraphicsPath

public bool IsVisible(int x, int y)
参数类型描述
xInt32要测试的点的 x 坐标。
yInt32要测试的点的 y 坐标。

返回值

如果指定的点位于此 GraphicsPath 中,则此方法返回 true;否则返回 false。

另请参见


IsVisible(Point)

指示指定的点是否位于此 GraphicsPath

public bool IsVisible(Point point)
参数类型描述
pointPoint一个表示要测试的点的 Point

返回值

如果指定的点位于此 GraphicsPath 中,则此方法返回 true;否则返回 false。

另请参见


IsVisible(float, float, Graphics)

指示指定的点是否位于此 GraphicsPath 中,并且在指定的 Graphics 的可见裁剪区域内。

public bool IsVisible(float x, float y, Graphics graphics)
参数类型描述
x单精度要测试的点的 x 坐标。
y单精度要测试的点的 y 坐标。
graphicsGraphics用于测试可见性的 Graphics

返回值

如果指定的点位于此 GraphicsPath 中,则此方法返回 true;否则返回 false。

另请参见


IsVisible(PointF, Graphics)

指示指定的点是否位于此 GraphicsPath

public bool IsVisible(PointF pt, Graphics graphics)
参数类型描述
ptPointF一个表示要测试的点的 PointF
graphicsGraphics用于测试可见性的 Graphics

返回值

如果指定的点位于此对象中,则此方法返回 true;否则返回 false。

另请参见


IsVisible(int, int, Graphics)

指示指定的点是否位于此 GraphicsPath,使用指定的 Graphics

public bool IsVisible(int x, int y, Graphics graphics)
参数类型描述
xInt32要测试的点的 x 坐标。
yInt32要测试的点的 y 坐标。
graphicsGraphics用于测试可见性的 Graphics

返回值

如果指定的点位于此 GraphicsPath 中,则此方法返回 true;否则返回 false。

另请参见


IsVisible(Point, Graphics)

指示指定的点是否位于此 GraphicsPath

public bool IsVisible(Point pt, Graphics graphics)
参数类型描述
ptPoint一个表示要测试的点的 Point
graphicsGraphics用于测试可见性的 Graphics

返回值

如果指定的点位于此 GraphicsPath 中,则此方法返回 true;否则返回 false。

另请参见