FGX.Control.Types.TfgSize: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) (summary) |
Admin (обсуждение | вклад) (summary) |
||
Строка 55: | Строка 55: | ||
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>AspectRatio: [[string]]</code> | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>AspectRatio: [[string]]</code> | ||
AspectRatio is a property introduced by Yoga and is not present as a settable property in the css flexbox specification. Flexbox does has the notion of aspect ratio though for things with intrinsic aspect ratio such as images. | AspectRatio is a property introduced by Yoga and is not present as a settable property in the css flexbox specification. Flexbox does has the notion of aspect ratio though for things with intrinsic aspect ratio such as images. | ||
+ | |} | ||
+ | |||
+ | == Константы == | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">const</syntaxhighlight> || <code>DefaultAspectRation: [[string]]</code> | ||
+ | |||
|} | |} |
Версия 04:40, 10 июня 2019
Delphi
TfgSize = class (TfgSingleSize)
Содержание
Описание
Описание отсутствует.
Конструкторы
constructor
|
Create(AOwner: TPersistent)
|
Методы
function
|
HasAspectRation(): Boolean
|
function
|
AreDefaultValues(): Boolean
|
procedure
|
StoreWidth()
|
procedure
|
RestoreWidth()
|
procedure
|
StoreHeight()
|
procedure
|
RestoreHeight()
|
procedure
|
SaveSize()
|
Свойства
property
|
SavedSize: TSizeF
Сохраненный размер контрола. Хранит размер контрола до выравнивания. |
property
|
AspectRationAsSingle: Single
|
property
|
AspectRatio: string
AspectRatio is a property introduced by Yoga and is not present as a settable property in the css flexbox specification. Flexbox does has the notion of aspect ratio though for things with intrinsic aspect ratio such as images. |
Константы
const
|
DefaultAspectRation: string
|