FMX.Filter.Effects.TFilterPinch

提供: RAD Studio API Documentation
移動先: 案内検索

FMX.Filter.Effects.TFilterBaseFilterFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFilterPinch

Delphi

TFilterPinch = class(TFilterBaseFilter)

C++

class PASCALIMPLEMENTATION TFilterPinch : public TFilterBaseFilter

プロパティ

種類 可視性 ソース ユニット
class public
FMX.Filter.Effects.pas
FMX.Filter.Effects.hpp
FMX.Filter.Effects FMX.Filter.Effects

説明

TFilterPinch は、TPinchEffect のラッパーです。

FMX.Filter.Effects.TFilterPinch は FMX.Filter.Effects.TPinchEffect を継承しています。以下の内容はすべて FMX.Filter.Effects.TPinchEffect を参照しています。

TPinchEffect は、ビジュアル オブジェクトのテクスチャの円形領域をつまむ効果を作成するためのクラスです。

詳細は、「TImageFXEffect」および「FireMonkey の画像効果」を参照してください。

円形領域の中心は Center プロパティで指定します。円形領域の縦横比は AspectRatio プロパティでカスタマイズできます。つまんだ領域を巻く量は Strength プロパティで設定できます。円形領域の半径は Radius プロパティで指定します。

以下の表は、フォームに配置された .png 画像(TImage オブジェクトを使用)に対して TPinchEffect 効果を適用した結果を示しています。渦巻きの Center は画像の中央に設定されています。TPinchEffect の残りのプロパティは、デフォルト値のまま使用されています(AspectRatio=1.5、Strength=10、Radius=0.25)。

効果を適用しない場合(元の画像) 結果

FireMonkey logo NoEffects shadow.PNG

FireMonkey logo TPinchEffect.PNG

関連項目

コード例