System.Types.TRectF.Width

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Width: Single read GetWidth write SetWidth;

C++

float Width() const _ALWAYS_INLINE

Properties

Type Visibility Source Unit Parent
property
function
public
System.Types.pas
SystemTypes.h
System.Types TRectF

Description

Width property of TRectF.

When the Width value is changed, the Right value is modified, leaving the Left unchanged.

Note: Before modifying the Width value, you must ensure that Left is a valid floating-point value and the rectangle is normalized.

See Also