FMX.Objects.TCalloutRectangle.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.Objects.pas
FMX.Objects.hpp
FMX.Objects TCalloutRectangle

Description

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

TCalloutRectangle renders the callout pointer as an isosceles triangle on one of its sides. The CalloutPosition defines the side on which the triangle appears.

CalloutOffset is the triangle offset implemented according to the following conditions:

  • If CalloutOffset is zero, then the triangle is centered on the specified side.
  • If CalloutOffset is positive, then the closest point of the callout pointer to a corner of the triangle 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 of the callout pointer to a corner of the triangle 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.