Download Now

    Reference NewBrush

    Declared in Codebot.Render.Graphics.pas on lines 640, 641, 642, 643, 644

    function NewBrush(const Color: TColorF): ISolidBrush; overload;
    function NewBrush(const A, B: TPointF): ILinearGradientBrush; overload;
    function NewBrush(const Rect: TRectF): IRadialGradientBrush; overload;
    function NewBrush(const Rect: TRectF; Radius, Feather: Float): IBoxGradientBrush; overload;
    function NewBrush(Bitmap: IBitmap): IBitmapBrush; overload;

    See also

    TColorF in Codebot.Graphics.Types.pas
    TPointF in Codebot.Graphics.Types.pas
    TRectF in Codebot.Graphics.Types.pas
    Float in Codebot.System.pas