Reference ITextWriter
Declared in Codebot.Render.Graphics.pas on line 442
ITextWriter = interface
public
function GetShadow: Boolean;
procedure SetShadow(Value: Boolean);
{ Reset the starting point where writing begins }
procedure Paper(const Rect: TRectF);
{ Move the margin left by an amount }
procedure Indent(Margin: Single);
{ Revert the paper back to its initial size as if nothing has been written }
procedure NewPage;
{ Move down one row based on the font height }
procedure NewLine;
{ Write text at the current line using a layout }
procedure Write(const S: string; Layout: TTextLayout = textLeft);
{ Write text offset by a column amount from the left }
procedure WriteColumn(const S: string; Column: Single; Layout: TTextLayout = textLeft);
{ Write text and start a new line }
procedure WriteLine(const S: string);
{ Write text at the current line using a layout }
procedure WriteAt(const S: string; X, Y: Single);
{ When shadow is true a black shadow appears under text making it easier to
read in some scenes }
property Shadow: Boolean read GetShadow write SetShadow;
end;See also
TRectF in Codebot.Graphics.Types.pas