t_svg_rect type

The t_svg_rect type defines the position and dimensions of a rectangle.

Syntax

PUBLIC TYPE t_svg_rect RECORD
    x DECIMAL,
    y DECIMAL,
    width DECIMAL,
    height DECIMAL
  END RECORD

Usage

This user-defined type defines a record structure with the position (x, y) and size (width, height) of a rectangle.

The structure is for example used with the getBBox() function.