Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

GraphicsPath.IsOutlineVisible Method (Point, Pen, Graphics)

Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen and using the specified Graphics.

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in system.drawing.dll)

public bool IsOutlineVisible (
	Point pt,
	Pen pen,
	Graphics graphics
)
public boolean IsOutlineVisible (
	Point pt, 
	Pen pen, 
	Graphics graphics
)
public function IsOutlineVisible (
	pt : Point, 
	pen : Pen, 
	graphics : Graphics
) : boolean
Not applicable.

Parameters

pt

A Point that specifies the location to test.

pen

The Pen to test.

graphics

The Graphics for which to test visibility.

Return Value

This method returns true if the specified point is contained within the outline of this GraphicsPath as drawn with the specified Pen; otherwise, false.

This method tests to see if the outline of a given path is rendered visible at the specified point. 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.

For an example, see IsOutlineVisible(Point,Pen,Graphics).

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.