Create(Color: IGxColor);
Color. Brush color.
The Create constructor creates a new solid brush with the color specified in the Color parameter.
Function GetSolidBrush(BrushColor: GxKnownColor): IGxSolidBrush;
Var
SolidBrush: IGxSolidBrush;
Begin
SolidBrush := New GxSolidBrush.Create(GxColor.FromKnownColor(BrushColor));
Return SolidBrush;
End Function GetSolidBrush;
The function returns a solid brush, which color is passed as an input parameter.
See also: