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

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 19: Строка 19:
  
 
== Методы ==
 
== Методы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| 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()
 +
 +
|}
 +
 +
== Свойства ==
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"

Версия 23:45, 9 июня 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()

Свойства

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()