System.Types.TRectF.CenterAt

提供:RAD Studio API Documentation

Delphi

function CenterAt(const ADesignatedArea: TRectF): TRectF;

C++

TRectF CenterAt(const TRectF& Bounds) const _ALWAYS_INLINE {

プロパティ

種類 可視性 ソース ユニット
function public
System.Types.pas
SystemTypes.h
System.Types TRectF


説明

現在の TRectF オブジェクトを、拡大縮小することなく、設計された領域の中央に配置します。

  • ADesignatedArea: 現在の四角形を中央配置する領域を形成する、四角形の座標。

CenterAt は、指定された領域の中央に配置された現在の四角形を返します。

関連項目