Map for WinForms | ComponentOne
C1.Win.Map Namespace / CustomShape Class / Draw Method
The graphics used to paint.
The location and size to draw the shape.
The style used to draw the shape.

In This Topic
    Draw Method (CustomShape)
    In This Topic
    Draws the custom shape at specified bounds.
    Syntax
    'Declaration
     
    
    Public MustOverride Sub Draw( _
       ByVal g As Graphics, _
       ByVal bounds As RectangleF, _
       ByVal style As Style _
    ) 
    public abstract void Draw( 
       Graphics g,
       RectangleF bounds,
       Style style
    )

    Parameters

    g
    The graphics used to paint.
    bounds
    The location and size to draw the shape.
    style
    The style used to draw the shape.
    See Also