Interface IBGLFont

Unit

Declaration

type IBGLFont = interface(IInterface)

Description

Interface for a font drawn on OpenGL canvas

Hierarchy

Overview

Methods

Public function GetClipped: boolean;
Public function GetHorizontalAlign: TAlignment;
Public function GetJustify: boolean;
Public function GetPadding: TRectF;
Public function GetScale: single;
Public function GetStepX: single;
Public function GetUseGradientColors: boolean;
Public function GetVerticalAlign: TTextLayout;
Public function TextHeight(const Text: UTF8String): single; overload;
Public function TextHeight(const Text: UTF8String; AWidth: single): single; overload;
Public function TextWidth(const Text: UTF8String): single;
Public procedure SetClipped(AValue: boolean);
Public procedure SetGradientColors(ATopLeft, ATopRight, ABottomRight, ABottomLeft: TBGRAPixel);
Public procedure SetHorizontalAlign(AValue: TAlignment);
Public procedure SetJustify(AValue: boolean);
Public procedure SetPadding(AValue: TRectF);
Public procedure SetScale(AValue: single);
Public procedure SetStepX(AValue: single);
Public procedure SetUseGradientColors(AValue: boolean);
Public procedure SetVerticalAlign(AValue: TTextLayout);
Public procedure TextOut(X, Y: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload;
Public procedure TextOut(X, Y: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;
Public procedure TextOut(X, Y: Single; const Text : UTF8String); overload;
Public procedure TextOut(X, Y: Single; const Text : UTF8String; AColor: TBGRAPixel); overload;
Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;
Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AVertAlign: TTextLayout); overload;
Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;
Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload;
Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AVertAlign: TTextLayout); overload;
Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;
Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String); overload;
Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AColor: TBGRAPixel); overload;
Public procedure TextRect(ARect: TRectF; const Text : UTF8String); overload;
Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AColor: TBGRAPixel); overload;
Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload;
Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;

Properties

Public property Clipped: boolean read GetClipped write SetClipped;
Public property GradientColors: boolean read GetUseGradientColors write SetUseGradientColors;
Public property HorizontalAlign: TAlignment read GetHorizontalAlign write SetHorizontalAlign;
Public property Justify: boolean read GetJustify write SetJustify;
Public property Padding: TRectF read GetPadding write SetPadding;
Public property Scale: single read GetScale write SetScale;
Public property StepX: single read GetStepX write SetStepX;
Public property VerticalAlign: TTextLayout read GetVerticalAlign write SetVerticalAlign;

Description

Methods

Public function GetClipped: boolean;

This item has no description.

Public function GetHorizontalAlign: TAlignment;

This item has no description.

Public function GetJustify: boolean;

This item has no description.

Public function GetPadding: TRectF;

This item has no description.

Public function GetScale: single;

This item has no description.

Public function GetStepX: single;

This item has no description.

Public function GetUseGradientColors: boolean;

This item has no description.

Public function GetVerticalAlign: TTextLayout;

This item has no description.

Public function TextHeight(const Text: UTF8String): single; overload;

This item has no description.

Public function TextHeight(const Text: UTF8String; AWidth: single): single; overload;

This item has no description.

Public function TextWidth(const Text: UTF8String): single;

This item has no description.

Public procedure SetClipped(AValue: boolean);

This item has no description.

Public procedure SetGradientColors(ATopLeft, ATopRight, ABottomRight, ABottomLeft: TBGRAPixel);

This item has no description.

Public procedure SetHorizontalAlign(AValue: TAlignment);

This item has no description.

Public procedure SetJustify(AValue: boolean);

This item has no description.

Public procedure SetPadding(AValue: TRectF);

This item has no description.

Public procedure SetScale(AValue: single);

This item has no description.

Public procedure SetStepX(AValue: single);

This item has no description.

Public procedure SetUseGradientColors(AValue: boolean);

This item has no description.

Public procedure SetVerticalAlign(AValue: TTextLayout);

This item has no description.

Public procedure TextOut(X, Y: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload;

This item has no description.

Public procedure TextOut(X, Y: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;

This item has no description.

Public procedure TextOut(X, Y: Single; const Text : UTF8String); overload;

This item has no description.

Public procedure TextOut(X, Y: Single; const Text : UTF8String; AColor: TBGRAPixel); overload;

This item has no description.

Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;

This item has no description.

Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AVertAlign: TTextLayout); overload;

This item has no description.

Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;

This item has no description.

Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload;

This item has no description.

Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AVertAlign: TTextLayout); overload;

This item has no description.

Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;

This item has no description.

Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String); overload;

This item has no description.

Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AColor: TBGRAPixel); overload;

This item has no description.

Public procedure TextRect(ARect: TRectF; const Text : UTF8String); overload;

This item has no description.

Public procedure TextRect(ARect: TRectF; const Text : UTF8String; AColor: TBGRAPixel); overload;

This item has no description.

Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload;

This item has no description.

Public procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload;

This item has no description.

Properties

Public property Clipped: boolean read GetClipped write SetClipped;

This item has no description.

Public property GradientColors: boolean read GetUseGradientColors write SetUseGradientColors;

This item has no description.

Public property HorizontalAlign: TAlignment read GetHorizontalAlign write SetHorizontalAlign;

This item has no description.

Public property Justify: boolean read GetJustify write SetJustify;

This item has no description.

Public property Padding: TRectF read GetPadding write SetPadding;

This item has no description.

Public property Scale: single read GetScale write SetScale;

This item has no description.

Public property StepX: single read GetStepX write SetStepX;

This item has no description.

Public property VerticalAlign: TTextLayout read GetVerticalAlign write SetVerticalAlign;

This item has no description.