System.Drawing.Drawing2D.GraphicsPath.IsVisible C# (CSharp) Method

IsVisible() public method

public IsVisible ( Point point ) : bool
point Point
return bool
        public bool IsVisible(Point point)
        {
            return IsVisible (point, null);
        }

Same methods

GraphicsPath::IsVisible ( Point point, Graphics graphics ) : bool
GraphicsPath::IsVisible ( PointF point ) : bool
GraphicsPath::IsVisible ( PointF point, Graphics graphics ) : bool
GraphicsPath::IsVisible ( float x, float y ) : bool
GraphicsPath::IsVisible ( float x, float y, Graphics graphics ) : bool
GraphicsPath::IsVisible ( int x, int y ) : bool
GraphicsPath::IsVisible ( int x, int y, Graphics graphics ) : bool

Usage Example

Exemplo n.º 1
0
 //檢查座標x,y是否在圖形內
 public override bool ContainsInShape(int x, int y)
 {
     GraphicsPath path = new GraphicsPath();
     path.FillMode = FillMode.Winding;
     path.AddRectangle(new Rectangle(_locationOfTopPoint, new Size(Wideth, Height)));
     return path.IsVisible(x, y);
 }
All Usage Examples Of System.Drawing.Drawing2D.GraphicsPath::IsVisible