FMX.Types.AnchorAlign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

AnchorAlign: array [TAlignLayout] of TAnchors = (
{ TAlignLayout.None }
[TAnchorKind.akLeft,
TAnchorKind.akTop],
{ TAlignLayout.Top }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight],
{ TAlignLayout.TopLeft }
[TAnchorKind.akLeft,
TAnchorKind.akTop],
{ TAlignLayout.TopCenter }
[TAnchorKind.akTop],
{ TAlignLayout.TopRight }
[TAnchorKind.akRight,
TAnchorKind.akTop],
{ TAlignLayout.Left }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.LeftTop }
[TAnchorKind.akLeft,
TAnchorKind.akTop],
{ TAlignLayout.LeftCenter }
[TAnchorKind.akLeft],
{ TAlignLayout.LeftBottom }
[TAnchorKind.akLeft,
TAnchorKind.akBottom],
{ TAlignLayout.Right }
[TAnchorKind.akRight,
TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.RightTop }
[TAnchorKind.akRight,
TAnchorKind.akTop],
{ TAlignLayout.RightCenter }
[TAnchorKind.akRight],
{ TAlignLayout.RightBottom }
[TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.Bottom }
[TAnchorKind.akLeft,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.BottomLeft }
[TAnchorKind.akLeft,
TAnchorKind.akBottom],
{ TAlignLayout.BottomCenter }
[TAnchorKind.akBottom],
{ TAlignLayout.BottomRight }
[TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.MostTop }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight],
{ TAlignLayout.MostBottom }
[TAnchorKind.akLeft,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.MostLeft }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.MostRight }
[TAnchorKind.akRight,
TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.Client }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.Contents }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.Center }
[],
{ TAlignLayout.VertCenter }
[TAnchorKind.akLeft,
TAnchorKind.akRight],
{ TAlignLayout.HorzCenter }
[TAnchorKind.akTop,
TAnchorKind.akBottom],
{ vaHorizintal }
[TAnchorKind.akLeft,
TAnchorKind.akRight],
{ TAlignLayout.Vertical }
[TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.Scale }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.Fit }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.FitLeft }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.FitRight }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom]
);

C++

extern DELPHI_PACKAGE System::StaticArray<System::Uitypes::TAnchors, 32> AnchorAlign;

Properties

Type Visibility Source Unit Parent
variable public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Variable that is an array of TAnchors.

AnchorAlign is initialized with an array containing all the declarations for all the possible align modes (None, Top, Left, and so on), as follows:

  (
    { None }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop],

    { Top }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akRight],

    { Left }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akBottom],

    { Right }
    [TAnchorKind.akRight,
     TAnchorKind.akTop,
     TAnchorKind.akBottom],

    { Bottom }
    [TAnchorKind.akLeft,
     TAnchorKind.akRight,
     TAnchorKind.akBottom],

    { MostTop }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akRight],

    { MostBottom }
    [TAnchorKind.akLeft,
     TAnchorKind.akRight,
     TAnchorKind.akBottom],

    { MostLeft }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akBottom],

    { MostRight }
    [TAnchorKind.akRight,
     TAnchorKind.akTop,
     TAnchorKind.akBottom],

    { Client }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akRight,
     TAnchorKind.akBottom],

    { Contents }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akRight,
     TAnchorKind.akBottom],

    { Center }
    [],

    { VertCenter }
    [TAnchorKind.akLeft,
     TAnchorKind.akRight],

    { HorzCenter }
    [TAnchorKind.akTop,
     TAnchorKind.akBottom],

    { vaHorizintal }
    [TAnchorKind.akLeft,
     TAnchorKind.akRight],

    { Vertical }
    [TAnchorKind.akTop,
     TAnchorKind.akBottom],

    { Scale }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akRight,
     TAnchorKind.akBottom],

    { Fit }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akRight,
     TAnchorKind.akBottom],

    { FitLeft }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akRight,
     TAnchorKind.akBottom],

    { FitRight }
    [TAnchorKind.akLeft,
     TAnchorKind.akTop,
     TAnchorKind.akRight,
     TAnchorKind.akBottom]
  );

AnchorAlign is used internally for aligning procedures.

See Also