FMX.Maps.TMapPolygonDescriptor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TMapPolygonDescriptor = record
    Outline: TMapPolygonPolyvertex;
    Holes: TArray<TMapPolygonPolyvertex>;
    Geodesic: Boolean;
    FillColor: TAlphaColor;
    StrokeColor: TAlphaColor;
    StrokeWidth: Single;
    ZIndex: Single;
    class function Create(const Outline: TArray<TMapCoordinate>): TMapPolygonDescriptor; static;
    procedure AddHole(const Points: TArray<TMapCoordinate>);
  end;

C++

struct DECLSPEC_DRECORD TMapPolygonDescriptor
{
public:
    TMapPolygonPolyvertex Outline;
#ifndef _WIN64
    System::DynamicArray<TMapPolygonPolyvertex> Holes;
#else /* _WIN64 */
    System::TArray__1<TMapPolygonPolyvertex> Holes;
#endif /* _WIN64 */
    bool Geodesic;
    System::Uitypes::TAlphaColor FillColor;
    System::Uitypes::TAlphaColor StrokeColor;
    float StrokeWidth;
    float ZIndex;
#ifndef _WIN64
    static TMapPolygonDescriptor __fastcall Create(const System::DynamicArray<TMapCoordinate> Outline);
    void __fastcall AddHole(const System::DynamicArray<TMapCoordinate> Points);
#else /* _WIN64 */
    static TMapPolygonDescriptor __fastcall Create(const System::TArray__1<TMapCoordinate> Outline);
    void __fastcall AddHole(const System::TArray__1<TMapCoordinate> Points);
#endif /* _WIN64 */
};

Properties

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

Description

Record that defines a map polygon.

See Also