FMX.InertialMovement.TAniCalculations.TTarget

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTarget = record

C++

struct DECLSPEC_DRECORD TTarget
{
public:
    TAniCalculations::TTargetType TargetType;
    TPointD Point;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
FMX.InertialMovement.pas
FMX.InertialMovement.hpp
FMX.InertialMovement TAniCalculations

Description

Defines a target point for the inertial moving.

The TTarget record has the following fields:

  • TargetType--defines the type of a target point of the inertial moving. A TargetType value can be one of the following constants defined in the TTargetType type:
    • Achieved--An achieved target point.
    • Max--A target point corresponds to one of the maximal coordinates (horizontal or vertical).
    • Min--A target point corresponds to one of the minimal coordinates (horizontal or vertical).
    • Other--A target point that should be achieved.
  • Point--Defines a target point of the inertial moving. Point belongs to the TPointD type.

TTarget is used to define the following types of target points: Target and MouseTarget.

See Also