Please enable JavaScript to view this site.

 

This topic covers the implementation details of TBoundsRect.

 

Scope: TypeDefinitions.pas; record. Prepared from the curated implementation supplied for this review on 2 October 2026.

 

Four raw Int64 values: Top, Bottom, Left and Right. The serializer does not apply a scale conversion. The actual coordinate unit and valid orientation come from the containing consumer.

 

Notation and shared helper rules: Reading this reference.

 

XML identity and composition

 

Literal rec_type values emitted within these routines: TBoundsRect. Nested values may belong to child wrappers rather than this owner itself; the attribute entries below give their exact locations.

 

Exact XML fields and attributes

 

The paths below start at this record or property node. A slash identifies a child element; @ identifies an attribute. Curly braces mark a variable index or expression, not literal XML text. Initial values describe initialization; they do not establish what an omitted individual element does. The Implementation toggle below contains the supplied routines for exact branch order and conversions.

 

Top

 

XML representation: The text of the Top element.

 

Reading: Reads the element into Top when the record node exists.

 

Writing: Stores the text representation of Top whenever the writer reaches this field.

 

Bottom

 

XML representation: The text of the Bottom element.

 

Reading: Reads the element into Bottom when the record node exists.

 

Writing: Stores the text representation of Bottom whenever the writer reaches this field.

 

Left

 

XML representation: The text of the Left element.

 

Reading: Reads the element into Left when the record node exists.

 

Writing: Stores the text representation of Left whenever the writer reaches this field.

 

Right

 

XML representation: The text of the Right element.

 

Reading: Reads the element into Right when the record node exists.

 

Writing: Stores the text representation of Right whenever the writer reaches this field.

 

@rec_type

 

XML representation: The rec_type attribute.

 

Writing: Stores the literal text “TBoundsRect” whenever the writer reaches this field.

 

Initialization and reset values

 

This type has no separate initializer in the supplied code. Its starting values come from its enclosing object, inherited initialization, or existing state. Relevant enclosing initializers are identified below.

 

Storage declarations relevant to interpretation

 

These are in-memory member and property types, not a list of mandatory XML children. They retain array bounds, fixed buffers and selector types. The field reference above defines what is actually serialized.

 

Name

Declared type / bounds

Kind

Top

Int64

member

Bottom

Int64

member

Left

Int64

member

Right

Int64

member

 

Implementation details

 

The Implementation toggle contains only TBoundsRect methods. Initializers and helpers belonging to other types are identified separately below. Shared XML-helper limitations are explained in Reading this reference.

 

Declaration reproduces this record’s complete declaration from the supplied source, including its fields, properties and method signatures.

 

Declaration

 

Implementation