GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace
/
GoText Class
/ Paint Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
Paint Method (GoText)
In This Topic
Draw a text string according to the attributes specified by this object's properties.
Syntax
C#
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
Reference
GoText Class
GoText Members