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

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 17: Строка 17:
 
|-
 
|-
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(const AConfig: [[.YGConfigRef|YGConfigRef]])</code>
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(const AConfig: [[.YGConfigRef|YGConfigRef]])</code>
 +
 +
|}
 +
 +
== Методы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Reset()</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetChildCount(): [[Integer]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetChildAt(const AIndex: [[Integer]]): [[Facebook.Yoga.TYogaNode|TYogaNode]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">AddChildAt(const AChild: [[Facebook.Yoga.TYogaNode|TYogaNode]]; const AIndex: [[Integer]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">AddChild(const AChild: [[Facebook.Yoga.TYogaNode|TYogaNode]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">RemoveChildAt(const AIndex: [[Integer]]): [[Facebook.Yoga.TYogaNode|TYogaNode]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">RemoveChild(const AChild: [[Facebook.Yoga.TYogaNode|TYogaNode]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">RemoveFromParent()</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">IndexOf(const AChild: [[Facebook.Yoga.TYogaNode|TYogaNode]]): [[Integer]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">CalculateLayout(const AWidth: [[Single]]; const AHeight: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">HasNewLayout(): [[Boolean]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Dirty()</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">IsDirty(): [[Boolean]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">CopyStyle(const ASrcNode: [[Facebook.Yoga.TYogaNode|TYogaNode]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">MarkLayoutSeen()</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetFlexBasis(const AValue: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetFlexBasisAuto()</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetFlexBasisPercent(const APrcent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMargin(const AEdge: [[.YGEdge|YGEdge]]; const AMargin: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMarginAuto(const AEdge: [[.YGEdge|YGEdge]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMarginPercent(const AEdge: [[.YGEdge|YGEdge]]; const APercent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetMargin(const AEdge: [[.YGEdge|YGEdge]]): [[.YGValue|YGValue]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetPadding(const AEdge: [[.YGEdge|YGEdge]]; const AMargin: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetPaddingAuto(const AEdge: [[.YGEdge|YGEdge]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetPaddingPercent(const AEdge: [[.YGEdge|YGEdge]]; const APercent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetPadding(AEdge: [[.YGEdge|YGEdge]]): [[.YGValue|YGValue]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetBorder(const AEdge: [[.YGEdge|YGEdge]]; const AMargin: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetBorder(const AEdge: [[.YGEdge|YGEdge]]): [[Single]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetPosition(const AEdge: [[.YGEdge|YGEdge]]; const AMargin: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetPositionPercent(const AEdge: [[.YGEdge|YGEdge]]; const APercent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetPosition(const AEdge: [[.YGEdge|YGEdge]]): [[.YGValue|YGValue]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetWidth(const AValue: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetWidthAuto()</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetWidthPercent(const APercent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetWidth(): [[.YGValue|YGValue]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetHeight(const AValue: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetHeightAuto()</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetHeightPercent(const APercent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetHeigth(): [[.YGValue|YGValue]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMinHeigth(const AValue: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMinHeigthPercent(const APercent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetMinHeigth(): [[.YGValue|YGValue]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMaxHeight(const AValue: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMaxHeightPercent(const APercent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetMaxHeight(): [[.YGValue|YGValue]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMinWidth(const AValue: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMinWidthPercent(const APercent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetMinWidth(): [[.YGValue|YGValue]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMaxWidth(const AValue: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetMaxWidthPercent(const APercent: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetMaxWidth(): [[.YGValue|YGValue]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">SetAspectRatio(const AValue: [[Single]])</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">GetAspectRatio(): [[Single]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Print()</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">ToString(): [[string]]</code>
  
 
|}
 
|}

Версия 17:47, 11 июня 2019

Delphi

TYogaNode = class (TObject)

Описание

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

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

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

Методы

procedure
Reset()
function
GetChildCount(): Integer
function
GetChildAt(const AIndex: Integer): TYogaNode
procedure
AddChildAt(const AChild: TYogaNode; const AIndex: Integer)
procedure
AddChild(const AChild: TYogaNode)
function
RemoveChildAt(const AIndex: Integer): TYogaNode
procedure
RemoveChild(const AChild: TYogaNode)
procedure
RemoveFromParent()
function
IndexOf(const AChild: TYogaNode): Integer
procedure
CalculateLayout(const AWidth: Single; const AHeight: Single)
function
HasNewLayout(): Boolean
procedure
Dirty()
function
IsDirty(): Boolean
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): YGValue
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): YGValue
procedure
SetBorder(const AEdge: YGEdge; const AMargin: Single)
function
GetBorder(const AEdge: YGEdge): Single
procedure
SetPosition(const AEdge: YGEdge; const AMargin: Single)
procedure
SetPositionPercent(const AEdge: YGEdge; const APercent: Single)
function
GetPosition(const AEdge: YGEdge): YGValue
procedure
SetWidth(const AValue: Single)
procedure
SetWidthAuto()
procedure
SetWidthPercent(const APercent: Single)
function
GetWidth(): YGValue
procedure
SetHeight(const AValue: Single)
procedure
SetHeightAuto()
procedure
SetHeightPercent(const APercent: Single)
function
GetHeigth(): YGValue
procedure
SetMinHeigth(const AValue: Single)
procedure
SetMinHeigthPercent(const APercent: Single)
function
GetMinHeigth(): YGValue
procedure
SetMaxHeight(const AValue: Single)
procedure
SetMaxHeightPercent(const APercent: Single)
function
GetMaxHeight(): YGValue
procedure
SetMinWidth(const AValue: Single)
procedure
SetMinWidthPercent(const APercent: Single)
function
GetMinWidth(): YGValue
procedure
SetMaxWidth(const AValue: Single)
procedure
SetMaxWidthPercent(const APercent: Single)
function
GetMaxWidth(): YGValue
procedure
SetAspectRatio(const AValue: Single)
function
GetAspectRatio(): Single
procedure
Print()
function
ToString(): string