Facebook.Yoga.TYogaNode: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) (summary) |
Admin (обсуждение | вклад) (summary) |
||
Строка 187: | Строка 187: | ||
|- | |- | ||
| <code lang="Delphi">function</code> || <code lang="Delphi">ToString()</code> | | <code lang="Delphi">function</code> || <code lang="Delphi">ToString()</code> | ||
+ | |||
+ | |} | ||
+ | |||
+ | == Свойства == | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | | <code>property</code> || <code>Position: [[TPointF]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>Size: [[TSizeF]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>Data: [[TObject]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>Parent: [[Facebook.Yoga.TYogaNode|TYogaNode]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>Direction: [[.YGDirection|YGDirection]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>FlexDirection: [[.YGFlexDirection|YGFlexDirection]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>JustifyContent: [[.YGJustify|YGJustify]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>AlignItems: [[.YGAlign|YGAlign]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>AlignSelf: [[.YGAlign|YGAlign]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>AlignContent: [[.YGAlign|YGAlign]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>AspectRatio: [[Single]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>PositionType: [[.YGPositionType|YGPositionType]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>Wrap: [[.YGWrap|YGWrap]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>Overflow: [[.YGOverflow|YGOverflow]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>Display: [[.YGDisplay|YGDisplay]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>Flex: [[Single]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>FlexGrow: [[Single]]</code> | ||
+ | |||
+ | |- | ||
+ | | <code>property</code> || <code>FlexShrink: [[Single]]</code> | ||
|} | |} |
Версия 03:59, 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
|