Defines classes and helpers to make FMX TCanvas have VCL functions enabling easier code portability.
|
Name
|
Description
|
|
TFMXCanvasHelper
|
Class helper for FMX TCanvas to provide Vcl-specific method signatures to the canvas. This class helper makes porting VCL code to FMX much easier.
In addition to all the VCL TCanvas methods added, the class adds Pen and Brush properties. However, by necessity, the VCL Pen is not exactly like the FMX Stroke and the VCL Brush is not exactly like the FMX FIll.
The following methods do not work and silently do nothing:
• LineTo and MoveTo do not work (use DrawLine) • Arc • ArcTo • Chord • CopyRect • Pie |
|
|
|
|
|
|
|
|
|
|
TRSCanvasSaveState
|
Defines a FMX canvas save state of some or all of the parts of an FMX TCanvas
Note
|
Deprecated. This class helps replace the FMX TCanvas.SaveState which was buggy in early versions of FMX.
|
|
|
TRSStrokeHelper
|
Class helper for TStrokeBrush or TRSStroke.
Adds a VCL-like FMX.RS.CanvasHelper.TRSStrokeHelper.Width property.
|
Top
|
Name
|
Description
|
|
AllParts
|
Represents constant AllParts.
|
Top
|