Map for WinForms | ComponentOne
C1.Win.Map Namespace / CustomShape Class / IsVisible Method
The graphics used to paint.
The loaction and size to draw the shape.
The point to check.
The sytle used to draw the shape.

In This Topic
    IsVisible Method (CustomShape)
    In This Topic
    Checks whether the specified point is visible in the custom shape.
    Syntax
    'Declaration
     
    
    Public Overridable Function IsVisible( _
       ByVal g As Graphics, _
       ByVal bounds As RectangleF, _
       ByVal point As PointF, _
       ByVal style As Style _
    ) As Boolean
    public virtual bool IsVisible( 
       Graphics g,
       RectangleF bounds,
       PointF point,
       Style style
    )

    Parameters

    g
    The graphics used to paint.
    bounds
    The loaction and size to draw the shape.
    point
    The point to check.
    style
    The sytle used to draw the shape.

    Return Value

    true if the point is visible in the custom shape; otherwise, false.
    See Also