Reference NewBrush
Declared in Codebot.Graphics.pas on lines 30, 32, 34, 36, 38
Create a new solid color brush
function NewBrush(Color: TColorB): ISolidBrush; overload;
Create a new bitmap pattern brush
function NewBrush(Bitmap: IBitmap): IBitmapBrush; overload;
Create a new linear gradient brush using four coordinates for endpoints
function NewBrush(X1, Y1, X2, Y2: Float): ILinearGradientBrush; overload;
Create a new linear gradient brush using two points for endpoints
function NewBrush(const A, B: TPointF): ILinearGradientBrush; overload;
Create a new radial gradient brush bounded by a rect
function NewBrush(const Rect: TRectF): IRadialGradientBrush; overload;
See also
TColorB in Codebot.Graphics.Types.pas
ISolidBrush in Codebot.Graphics.Types.pas
IBitmap in Codebot.Graphics.Types.pas
IBitmapBrush in Codebot.Graphics.Types.pas
Float in Codebot.System.pas
ILinearGradientBrush in Codebot.Graphics.Types.pas
TPointF in Codebot.Graphics.Types.pas
TRectF in Codebot.Graphics.Types.pas
IRadialGradientBrush in Codebot.Graphics.Types.pas