Defines a cross-library (VCL or FMX) type for a rectangle. In VCL, the rectangle used in canvas functions is a TRect. In FMX, the rectangle used in canvas functions is a TRectF.
Use this type to create code that can copy and paste between libraries.
Namespace: FMX.RS.Graphics
Delphi
|
type
TCanvasRect = TRectF;
|
Reference
•FMX.RS.Graphics.TCanvasPixel •FMX.RS.Graphics.TCanvasPoint •FMX.RS.Graphics.TCanvasSize •FMX.RS.Graphics.CanvasRect(Single,Single,Single,Single) •FMX.RS.Graphics.RectGradient(TCanvas,TCanvasRect,TCanvasColor[],Integer,Single) •FMX.RS.Graphics.ProgressPie(TCanvas,TCanvasRect,Integer,Integer,Integer,Integer,TColors,Boolean,Integer,Integer,TProgressDirection,TProgressDisplayType) •FMX.RS.Graphics.DrawShape(TCanvas,TCanvasRect,TBitmap,TRSShapeStyle,Boolean,TCanvasColor,TCanvasColor,TCanvasPixel,Single) •FMX.RS.Graphics |