Show: Delphi
C++
Display Preferences
FMX.Objects.TRectangle.SetXRadius
From XE2 API Documentation
Delphi
procedure SetXRadius(const Value: Single); virtual;
C++
virtual void __fastcall SetXRadius(const float Value);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | TRectangle |
Description
Sets the XRadius distance from a corner to the start point of the corner customization, for the horizontal sides of a rectangle.
SetXRadius sets the new XRadius value, and then repaints the rectangle.
The maximum possible value of XRadius is half of the rectangle width. If the specified Value exceeds this limit, width/2 is used.