FMX.Layers3D.TAbstractLayer3D.SetBounds

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

Delphi

procedure SetBounds(X, Y, AWidth, AHeight: Single);

C++

void __fastcall SetBounds(float X, float Y, float AWidth, float AHeight);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
FMX.Layers3D.pas
FMX.Layers3D.hpp
FMX.Layers3D TAbstractLayer3D

説明

Position.XPosition.YWidth、および Height の各プロパティを、すべて一度に設定します。

SetBounds を使用すると、レイヤの境界に関係するプロパティを、すべて一度に変更することができます。 同等の効果が、Position.XPosition.YWidth、および Height の各プロパティを個別に設定しても得られますが、SetBounds は、4 つのプロパティを一度に変更するため、各プロパティの変更の間に 3D レイヤが再描画されないことが保証されます。

Position.XPosition.YWidth、および Height の各プロパティの値を、順次、Position.XPosition.YAWidthAHeight の各パラメータで設定します。

関連項目