System.Types.TRectF.operator Explicit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class operator Explicit(const Source: TRectF): TRect;

Properties

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

Description

Returns a TRect object.

operator Explicit returns a TRect object with the same coordinates as the TRectF object received as parameter. It rounds the TRectF object with single coordinates to a TRect object with integer coordinates.

See Also