Show/Hide Toolbars

RiverSoftAVG Products Help

Defines a class to contain and perform calculations on a RSGraphics|TRSRect or TRectF. The advantage of using TRSObjectRSRect is that the class can be used as a published property, where the user will be able to set the boundaries of the rectangle at design time. The TRSObjectRSRect class is a descendant of the FMX.RS.Graphics.TRSCustomRSRect class which publishes the boundaries of the rectangle represented by the class.

The TRSObjectRSRect represents the dimensions of a rectangle. The coordinates are specified as four separate floating point numbers representing the left, top, right, and bottom sides.

Typically, values represent (FMX or GDI+) pixel locations, where the origin of the pixel coordinate system is in the top left corner of the screen (screen coordinates) or the top left corner of a control's client area (client coordinates). When a TRSObjectRSRect value represents a rectangle on the screen, by convention the top and left edges are considered inside the rectangle and the bottom and right edges are considered outside the rectangle. This convention allows the width of the rectangle to be Right - Left and the height to be Bottom - Top.

noteNote

The BoundsRect property represents the underlying TRSRect rectangle. You should use the provided properties; Left, Right, Top, Bottom, Width, and Height; to set the rectangle's fields. If you use the BoundsRect field's directly, the OnChange event will not be called.

Namespace: FMX.RS.Graphics

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb