FGX.Assets.BitmapSet.TfgBitmapInfo: различия между версиями

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 21: Строка 21:
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(const ABitmap: [[FGX.Canvas.TfgBitmap|TfgBitmap]]; const AScale: [[Single]])</code>
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(const ABitmap: [[FGX.Canvas.TfgBitmap|TfgBitmap]]; const AScale: [[Single]])</code>
  
 +
|}
 +
 +
== Методы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">HasBitmap(): [[Boolean]]</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">IsTinted(): [[Boolean]]</code>
 +
Возвращает True - если к картинке применем цветовой оттенок. В противном случаи False.
 
|}
 
|}

Версия 04:35, 10 июня 2019

Delphi

TfgBitmapInfo = class (TObject)

Описание

Графический ресурс представленный одним изображением.

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

constructor
Create(const AScale: Single)
constructor
Create(const AUri: string; const AScale: Single)
constructor
Create(const ABitmap: TfgBitmap; const AScale: Single)

Методы

function
HasBitmap(): Boolean
function
IsTinted(): Boolean

Возвращает True - если к картинке применем цветовой оттенок. В противном случаи False.