In this section, we will learn about shapes. The shapes that are provided represent basic geometrical figures and can be used as building blocks for more complex compositions. We will also look at the properties that are available for these components since they are introduced by a common ancestor: the TShape class.
Shapes are the primitives of FMX components. They are not provided with a style object and they are the building blocks for many visual parts of FMX's UIs. They are listed on the Shapes page of the Component palette, as shown in the following screenshot:
In the preceding screenshot, you can easily spot TLine, TRectangle, TRoundRect, TEllipse, TCircle, TArc, TText, TImage, and TGlyph. Your use of them may vary but in my experience, TRectangle/TCircle and TImage/TGlyph are the most commonly used in FMX applications.
They are all descendants of TShape, which itself is a descendant of TControl (the FMX.Objects unit). You can...