Facebook.Yoga.TYogaNode

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску

Delphi

TYogaNode = class (TObject)

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

Методы

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)
function IndexOf(const AChild: TYogaNode)
procedure CalculateLayout(const AWidth: Single, const AHeight: Single)
function HasNewLayout()
function IsDirty()
procedure CopyStyle(const ASrcNode: TYogaNode)
procedure SetFlexBasis(const AValue: Single)
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 SetWidthPercent(const APercent: Single)
function GetWidth()
procedure SetHeight(const AValue: Single)
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()
function ToString()