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