FGX.Control.Types.TfgSize: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) (summary) |
Admin (обсуждение | вклад) (summary) |
||
(не показано 27 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
* [[ FGX.Types.TfgSingleSize | Вверх к родителю: TfgSingleSize ]] | * [[ FGX.Types.TfgSingleSize | Вверх к родителю: TfgSingleSize ]] | ||
+ | * [[ FGX.Control.Types | К модулю: FGX.Control.Types ]] | ||
Delphi | Delphi | ||
<syntaxhighlight lang="Delphi">TfgSize = class (TfgSingleSize)</syntaxhighlight> | <syntaxhighlight lang="Delphi">TfgSize = class (TfgSingleSize)</syntaxhighlight> | ||
+ | |||
+ | <p class="class-inheritance"><span class="type-border">[[FGX.Types.{FGX.Types}TfgPair<System.Single>|{FGX.Types}TfgPair<System.Single>]]</span> -> <span class="type-border">[[FGX.Types.TfgSinglePair|TfgSinglePair]]</span> -> <span class="type-border">[[FGX.Types.TfgSingleSize|TfgSingleSize]]</span> -> <span class="type-border">[[FGX.Control.Types.TfgSize|TfgSize]]</span></p> | ||
== Описание == | == Описание == | ||
<span style="color:gray">Описание отсутствует.</span> | <span style="color:gray">Описание отсутствует.</span> | ||
− | |||
== Конструкторы == | == Конструкторы == | ||
Строка 48: | Строка 50: | ||
|- | |- | ||
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>SavedSize: [[TSizeF]]</code> | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>SavedSize: [[TSizeF]]</code> | ||
− | Сохраненный размер контрола. Хранит размер контрола до выравнивания. | + | |
+ | <p>Сохраненный размер контрола. Хранит размер контрола до выравнивания.</p><div class="info">Используется, чтобы восстановить размер контрола при отключении выравнивания.</div> | ||
|- | |- | ||
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>AspectRationAsSingle: [[Single]]</code> | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>AspectRationAsSingle: [[Single]]</code> | ||
Строка 54: | Строка 57: | ||
|- | |- | ||
| <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. | + | <p>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.</p> |
|} | |} | ||
Текущая версия на 02:48, 1 июля 2019
Delphi
TfgSize = class (TfgSingleSize)
[[FGX.Types.{FGX.Types}TfgPair<System.Single>|{FGX.Types}TfgPair<System.Single>]] -> TfgSinglePair -> TfgSingleSize -> TfgSize
Содержание
Описание
Описание отсутствует.
Конструкторы
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
Описание отсутствует. |