FMX.StdCtrls.TCalloutPanel.CalloutOffset

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CalloutOffset: Single read FCalloutOffset write SetCalloutOffset;

C++

__property float CalloutOffset = {read=FCalloutOffset, write=SetCalloutOffset};

Properties

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

Description

The position of the callout pointer, relative to the center or edges of the side on which it appears.

By default, TCalloutPanel uses TCalloutRectangle, which renders its callout pointer--visual element that points at the area of interest--as an isosceles triangle on one of its sides. The CalloutPosition defines the side on which the triangle appears.

CalloutOffset is the offset of the callout pointer implemented according to the following conditions:

  • If CalloutOffset is zero, then the callout pointer is centered on the specified side.
  • If CalloutOffset is positive, then the closest point to a corner of the callout pointer has the CalloutOffset offset on the following sides:
    • Top--offset to the right from the upper-left corner.
    • Left--offset to the bottom from the upper-left corner.
    • Right--offset to the bottom from the upper-right corner.
    • Bottom--offset to the right from the lower-left corner.
  • If CalloutOffset is negative, then the closest point to a corner of the callout pointer has the CalloutOffset offset on the following sides:
    • Top--offset to the left from the upper-right corner.
    • Left--offset to the top from the lower-left corner.
    • Right--offset to the top from the lower-right corner.
    • Bottom--offset to the left from the lower-right corner.