FMX.Objects.TShape.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TShape(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | TShape |
Description
Creates and initializes an object instance.
Create inherits initializations from FMX.Controls.TControl.Create. Create additionally initializes:
- Fill--with the solid color brush pattern
TBrushKind = Solid
with the color$E0E0E0
. - Stroke--with the solid color brush pattern
TBrushKind = Solid
with the Black color$000000
. - StrokeThickness
= 1
.
Depending on the object type, Create can initialize other properties.