Download Now

    Reference IFont

    Declared in Codebot.Graphics.Types.pas on line 990

    IFont describes how text is drawn
      IFont = interface
      public
        { The font family name }
        property Name: string read GetName write SetName;
        { The text color }
        property Color: TColorB read GetColor write SetColor;
        { The antialiasing quality }
        property Quality: TFontQuality read GetQuality write SetQuality;
        { Bold, italic, underline, and strikeout }
        property Style: TFontStyles read GetStyle write SetStyle;
        { The size in points }
        property Size: Float read GetSize write SetSize;
        { Extra space added between characters }
        property Kerning: Float read GetKerning write SetKerning;
      end;

    See also

    Float in Codebot.System.pas