Interface IBGLFont
Unit
Declaration
type IBGLFont = interface(IInterface)
Description
Interface for a font drawn on OpenGL canvas
Hierarchy
- IInterface
- IBGLFont
Overview
Methods
function GetClipped: boolean; |
|
function GetHorizontalAlign: TAlignment; |
|
function GetJustify: boolean; |
|
function GetPadding: TRectF; |
|
function GetScale: single; |
|
function GetStepX: single; |
|
function GetUseGradientColors: boolean; |
|
function GetVerticalAlign: TTextLayout; |
|
function TextHeight(const Text: UTF8String): single; overload; |
|
function TextHeight(const Text: UTF8String; AWidth: single): single; overload; |
|
function TextWidth(const Text: UTF8String): single; |
|
procedure SetClipped(AValue: boolean); |
|
procedure SetGradientColors(ATopLeft, ATopRight, ABottomRight, ABottomLeft: TBGRAPixel); |
|
procedure SetHorizontalAlign(AValue: TAlignment); |
|
procedure SetJustify(AValue: boolean); |
|
procedure SetPadding(AValue: TRectF); |
|
procedure SetScale(AValue: single); |
|
procedure SetStepX(AValue: single); |
|
procedure SetUseGradientColors(AValue: boolean); |
|
procedure SetVerticalAlign(AValue: TTextLayout); |
|
procedure TextOut(X, Y: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload; |
|
procedure TextOut(X, Y: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
procedure TextOut(X, Y: Single; const Text : UTF8String); overload; |
|
procedure TextOut(X, Y: Single; const Text : UTF8String; AColor: TBGRAPixel); overload; |
|
procedure TextRect(ARect: TRectF; const Text : UTF8String; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
procedure TextRect(ARect: TRectF; const Text : UTF8String; AVertAlign: TTextLayout); overload; |
|
procedure TextRect(ARect: TRectF; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
procedure TextRect(ARect: TRectF; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload; |
|
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AVertAlign: TTextLayout); overload; |
|
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String); overload; |
|
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AColor: TBGRAPixel); overload; |
|
procedure TextRect(ARect: TRectF; const Text : UTF8String); overload; |
|
procedure TextRect(ARect: TRectF; const Text : UTF8String; AColor: TBGRAPixel); overload; |
|
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload; |
|
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
Properties
property Clipped: boolean read GetClipped write SetClipped; |
|
property GradientColors: boolean read GetUseGradientColors write SetUseGradientColors; |
|
property HorizontalAlign: TAlignment read GetHorizontalAlign write SetHorizontalAlign; |
|
property Justify: boolean read GetJustify write SetJustify; |
|
property Padding: TRectF read GetPadding write SetPadding; |
|
property Scale: single read GetScale write SetScale; |
|
property StepX: single read GetStepX write SetStepX; |
|
property VerticalAlign: TTextLayout read GetVerticalAlign write SetVerticalAlign; |
Description
Methods
function GetClipped: boolean; |
|
This item has no description. |
function GetHorizontalAlign: TAlignment; |
|
This item has no description. |
function GetJustify: boolean; |
|
This item has no description. |
function GetPadding: TRectF; |
|
This item has no description. |
function GetScale: single; |
|
This item has no description. |
function GetStepX: single; |
|
This item has no description. |
function GetUseGradientColors: boolean; |
|
This item has no description. |
function GetVerticalAlign: TTextLayout; |
|
This item has no description. |
function TextHeight(const Text: UTF8String): single; overload; |
|
This item has no description. |
function TextHeight(const Text: UTF8String; AWidth: single): single; overload; |
|
This item has no description. |
function TextWidth(const Text: UTF8String): single; |
|
This item has no description. |
procedure SetClipped(AValue: boolean); |
|
This item has no description. |
procedure SetGradientColors(ATopLeft, ATopRight, ABottomRight, ABottomLeft: TBGRAPixel); |
|
This item has no description. |
procedure SetHorizontalAlign(AValue: TAlignment); |
|
This item has no description. |
procedure SetJustify(AValue: boolean); |
|
This item has no description. |
procedure SetPadding(AValue: TRectF); |
|
This item has no description. |
procedure SetScale(AValue: single); |
|
This item has no description. |
procedure SetStepX(AValue: single); |
|
This item has no description. |
procedure SetUseGradientColors(AValue: boolean); |
|
This item has no description. |
procedure SetVerticalAlign(AValue: TTextLayout); |
|
This item has no description. |
procedure TextOut(X, Y: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload; |
|
This item has no description. |
procedure TextOut(X, Y: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure TextOut(X, Y: Single; const Text : UTF8String); overload; |
|
This item has no description. |
procedure TextOut(X, Y: Single; const Text : UTF8String; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure TextRect(ARect: TRectF; const Text : UTF8String; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure TextRect(ARect: TRectF; const Text : UTF8String; AVertAlign: TTextLayout); overload; |
|
This item has no description. |
procedure TextRect(ARect: TRectF; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure TextRect(ARect: TRectF; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload; |
|
This item has no description. |
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AVertAlign: TTextLayout); overload; |
|
This item has no description. |
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String); overload; |
|
This item has no description. |
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure TextRect(ARect: TRectF; const Text : UTF8String); overload; |
|
This item has no description. |
procedure TextRect(ARect: TRectF; const Text : UTF8String; AColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout = tlTop); overload; |
|
This item has no description. |
procedure TextRect(X, Y, Width, Height: Single; const Text : UTF8String; AHorizAlign: TAlignment; AVertAlign: TTextLayout; AColor: TBGRAPixel); overload; |
|
This item has no description. |
Properties
property Clipped: boolean read GetClipped write SetClipped; |
|
This item has no description. |
property GradientColors: boolean read GetUseGradientColors write SetUseGradientColors; |
|
This item has no description. |
property HorizontalAlign: TAlignment read GetHorizontalAlign write SetHorizontalAlign; |
|
This item has no description. |
property Justify: boolean read GetJustify write SetJustify; |
|
This item has no description. |
property Padding: TRectF read GetPadding write SetPadding; |
|
This item has no description. |
property Scale: single read GetScale write SetScale; |
|
This item has no description. |
property StepX: single read GetStepX write SetStepX; |
|
This item has no description. |
property VerticalAlign: TTextLayout read GetVerticalAlign write SetVerticalAlign; |
|
This item has no description. |