FMX.StdCtrls.TCalloutPanel.CalloutLength

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CalloutLength: Single read FCalloutLength write SetCalloutLength;

C++

__property float CalloutLength = {read=FCalloutLength, write=SetCalloutLength};

Properties

Type Visibility Source Unit Parent
property published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TCalloutPanel

Description

The length of the visual element that points at the area of interest.

By default, TCalloutPanel uses TCalloutRectangle, which renders its callout pointer as an isosceles triangle on one of its sides. CalloutLength is the height of this triangle. The triangle is included in the bounding rectangle ShapeRect of the TCalloutPanel object; therefore, the longer CalloutLength is, the smaller the height (or width) of the callout panel itself is, and vice versa. Keeping the bounding rectangle the same size while changing the length of the triangle CalloutLength requires changing the height or width of the callout panel TCalloutPanel itself, depending on which side the triangle appears.

See Also