GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoText Class / Paint Method
In This Topic
    Paint Method (GoText)
    In This Topic
    Draw a text string according to the attributes specified by this object's properties.
    Syntax
    public override void Paint( 
       Graphics g,
       GoView view
    )

    Parameters

    g
    view
    Remarks
    If TransparentBackground is false, we fill the bounds with the BackgroundColor, and we paint a rectangular drop shadow if Shadowed. If TransparentBackground is true, we draw the text (offset) using the shadow pen if Shadowed is true. Then we draw the text using the TextColor. The value of Alignment and either RightToLeft or GoView.RightToLeft determine the actual alignment of the text.
    See Also