Reference Brushes
Declared in Codebot.Graphics.pas on line 306
Brushes creates a series of bitmap patterns
Brushes = record
public
{ A gray and white checkerboard used to show transparency }
class function Transparent: IBrush; overload; static;
{ Pattern brushes drawn using a foreground and background color }
class function Dither(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function Checker(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function Beam(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function Cross(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function ZigZag(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function Brick(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function Circles(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function Squares(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function Clovers(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function Tooth(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function FloorTile(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function SnakeSkin(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
class function Pipes(Foreground, Background: TColorB; PenWidth: Float = DefPenWidth; BrushSize: Integer = DefBrushSize): IBrush; overload; static;
end;See also
Float in Codebot.System.pas
IBrush in Codebot.Graphics.Types.pas
TColorB in Codebot.Graphics.Types.pas