Facebook.Yoga.TYogaNode: различия между версиями

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 246: Строка 246:
 
|-
 
|-
 
| <code>property</code> || <code>FlexShrink: [[Single]]</code>
 
| <code>property</code> || <code>FlexShrink: [[Single]]</code>
 +
 +
|}
 +
 +
== Константы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| <code>const</code> || <code>Undefined: [[Integer]]</code>
  
 
|}
 
|}

Версия 04:09, 10 июня 2019

Delphi

TYogaNode = class (TObject)

Описание

Описание отсутствует.

Конструкторы

constructor Create()
constructor Create(const AConfig: YGConfigRef)

Методы

procedure Reset()
function GetChildCount()
function GetChildAt(const AIndex: Integer)
procedure AddChildAt(const AChild: TYogaNode; const AIndex: Integer)
procedure AddChild(const AChild: TYogaNode)
function RemoveChildAt(const AIndex: Integer)
procedure RemoveChild(const AChild: TYogaNode)
procedure RemoveFromParent()
function IndexOf(const AChild: TYogaNode)
procedure CalculateLayout(const AWidth: Single; const AHeight: Single)
function HasNewLayout()
procedure Dirty()
function IsDirty()
procedure CopyStyle(const ASrcNode: TYogaNode)
procedure MarkLayoutSeen()
procedure SetFlexBasis(const AValue: Single)
procedure SetFlexBasisAuto()
procedure SetFlexBasisPercent(const APrcent: Single)
procedure SetMargin(const AEdge: YGEdge; const AMargin: Single)
procedure SetMarginAuto(const AEdge: YGEdge)
procedure SetMarginPercent(const AEdge: YGEdge; const APercent: Single)
function GetMargin(const AEdge: YGEdge)
procedure SetPadding(const AEdge: YGEdge; const AMargin: Single)
procedure SetPaddingAuto(const AEdge: YGEdge)
procedure SetPaddingPercent(const AEdge: YGEdge; const APercent: Single)
function GetPadding(AEdge: YGEdge)
procedure SetBorder(const AEdge: YGEdge; const AMargin: Single)
function GetBorder(const AEdge: YGEdge)
procedure SetPosition(const AEdge: YGEdge; const AMargin: Single)
procedure SetPositionPercent(const AEdge: YGEdge; const APercent: Single)
function GetPosition(const AEdge: YGEdge)
procedure SetWidth(const AValue: Single)
procedure SetWidthAuto()
procedure SetWidthPercent(const APercent: Single)
function GetWidth()
procedure SetHeight(const AValue: Single)
procedure SetHeightAuto()
procedure SetHeightPercent(const APercent: Single)
function GetHeigth()
procedure SetMinHeigth(const AValue: Single)
procedure SetMinHeigthPercent(const APercent: Single)
function GetMinHeigth()
procedure SetMaxHeight(const AValue: Single)
procedure SetMaxHeightPercent(const APercent: Single)
function GetMaxHeight()
procedure SetMinWidth(const AValue: Single)
procedure SetMinWidthPercent(const APercent: Single)
function GetMinWidth()
procedure SetMaxWidth(const AValue: Single)
procedure SetMaxWidthPercent(const APercent: Single)
function GetMaxWidth()
procedure SetAspectRatio(const AValue: Single)
function GetAspectRatio()
procedure Print()
function ToString()

Свойства

property Position: TPointF
property Size: TSizeF
property Data: TObject
property Parent: TYogaNode
property Direction: YGDirection
property FlexDirection: YGFlexDirection
property JustifyContent: YGJustify
property AlignItems: YGAlign
property AlignSelf: YGAlign
property AlignContent: YGAlign
property AspectRatio: Single
property PositionType: YGPositionType
property Wrap: YGWrap
property Overflow: YGOverflow
property Display: YGDisplay
property Flex: Single
property FlexGrow: Single
property FlexShrink: Single

Константы

const Undefined: Integer