Download Now

    Reference StrToBrush

    Declared in Codebot.Graphics.pas on line 331

    Create a pattern brush by its registered name, returning a transparent brush if the name is not found
    function StrToBrush(Name: string; Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush;

    See also

    TColorB in Codebot.Graphics.Types.pas
    Float in Codebot.System.pas
    IBrush in Codebot.Graphics.Types.pas