Skip to main content

Rectangular Shape

A shape defined by a top-left position and a size (width and height). It renders a view backed by a rectangular region.

PropertyTypeDescription
topLeftpointThe coordinates of the shape's top-left corner. See point.
widthintegerThe shape's width; zero or greater.
heightintegerThe shape's height; zero or greater.

As a shape, a rectangular shape also carries the identity properties id, created, and modified common to all OntoUML elements; it does not carry descriptive properties such as name or description.

RectangularShape is abstract: it is never serialized directly. Every rectangular shape in a document is one of its concrete subtypes, distinguished by its type: