GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoStroke Class / DrawArrowhead Method
true if for the "To" end, false if for the "From" end
the offset is normally used for drawing a shadow
the offset is normally used for drawing a shadow
The result of a call to CalculateArrowhead
In This Topic
    DrawArrowhead Method
    In This Topic
    This method is called by Paint to actually draw an arrowhead.
    Syntax
    protected virtual void DrawArrowhead( 
       Graphics g,
       GoView view,
       Pen pen,
       Brush brush,
       bool atEnd,
       float offsetw,
       float offseth,
       PointF[] poly
    )

    Parameters

    g
    view
    pen
    brush
    atEnd
    true if for the "To" end, false if for the "From" end
    offsetw
    the offset is normally used for drawing a shadow
    offseth
    the offset is normally used for drawing a shadow
    poly
    The result of a call to CalculateArrowhead
    Remarks
    By default this will be called with a thin, solid pen derived from Pen and this stroke's Brush. When the arrowhead style is GoStrokeArrowheadStyle.Circle, the polygon's [0] and [2] points are used to position the circle. When the arrowhead style is one of the "crossed" styles, the polygon's [1] and [3] points are used as the points for the crossing line.
    See Also