GraphicsPath.IsOutlineVisible

IsOutlineVisible(float, float, Pen)

指示在使用指定Pen绘制时,指定点是否位于此GraphicsPath的轮廓内部(下方)。

public bool IsOutlineVisible(float x, float y, Pen pen)
参数类型描述
x单精度要测试的点的 x 坐标。
y单精度要测试的点的 y 坐标。
penPen用于测试的Pen

返回值

如果在使用指定Pen绘制时,指定点位于此GraphicsPath的轮廓内部,则此方法返回 true;否则返回 false。

另请参见


IsOutlineVisible(PointF, Pen)

指示在使用指定Pen绘制时,指定点是否位于此GraphicsPath的轮廓内部(下方)。

public bool IsOutlineVisible(PointF point, Pen pen)
参数类型描述
pointPointF一个指定要测试位置的 PointF
penPen用于测试的Pen

返回值

如果在使用指定Pen绘制时,指定点位于此GraphicsPath的轮廓内部,则此方法返回 true;否则返回 false。

另请参见


IsOutlineVisible(float, float, Pen, Graphics)

指示使用指定的 Pen 绘制并使用指定的 Graphics 时,指定的点是否位于此 GraphicsPath 的轮廓内部(下方)。

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

返回值

如果使用指定的 Pen 绘制此 GraphicsPath 时,指定的点位于其轮廓内部(下方),则此方法返回 true;否则返回 false。

另请参见


IsOutlineVisible(PointF, Pen, Graphics)

指示使用指定的 Pen 绘制并使用指定的 Graphics 时,指定的点是否位于此 GraphicsPath 的轮廓内部(下方)。

public bool IsOutlineVisible(PointF pt, Pen pen, Graphics graphics)
参数类型描述
ptPointF一个指定要测试位置的 PointF
penPen用于测试的Pen
graphicsGraphics用于测试可见性的 Graphics

返回值

如果使用指定的 Pen 绘制此 GraphicsPath 时,指定的点位于其轮廓内部(下方),则此方法返回 true;否则返回 false。

另请参见


IsOutlineVisible(int, int, Pen)

指示在使用指定Pen绘制时,指定点是否位于此GraphicsPath的轮廓内部(下方)。

public bool IsOutlineVisible(int x, int y, Pen pen)
参数类型描述
xInt32要测试的点的 x 坐标。
yInt32要测试的点的 y 坐标。
penPen用于测试的Pen

返回值

如果在使用指定Pen绘制时,指定点位于此GraphicsPath的轮廓内部,则此方法返回 true;否则返回 false。

另请参见


IsOutlineVisible(Point, Pen)

指示在使用指定Pen绘制时,指定点是否位于此GraphicsPath的轮廓内部(下方)。

public bool IsOutlineVisible(Point point, Pen pen)
参数类型描述
pointPoint一个指定要测试位置的 Point
penPen用于测试的Pen

返回值

如果在使用指定Pen绘制时,指定点位于此GraphicsPath的轮廓内部,则此方法返回 true;否则返回 false。

另请参见


IsOutlineVisible(int, int, Pen, Graphics)

指示使用指定的 Pen 绘制并使用指定的 Graphics 时,指定的点是否位于此 GraphicsPath 的轮廓内部(下方)。

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

返回值

如果使用指定的 Pen 绘制此 GraphicsPath 时,指定的点位于其轮廓内部,则此方法返回 true;否则返回 false。

另请参见


IsOutlineVisible(Point, Pen, Graphics)

指示使用指定的 Pen 绘制并使用指定的 Graphics 时,指定的点是否位于此 GraphicsPath 的轮廓内部(下方)。

public bool IsOutlineVisible(Point pt, Pen pen, Graphics graphics)
参数类型描述
ptPoint一个指定要测试位置的 Point
penPen用于测试的Pen
graphicsGraphics用于测试可见性的 Graphics

返回值

如果使用指定的 Pen 绘制此 GraphicsPath 时,指定的点位于其轮廓内部,则此方法返回 true;否则返回 false。

另请参见