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.
| Property | Type | Description |
|---|---|---|
topLeft | point | The coordinates of the shape's top-left corner. See point. |
width | integer | The shape's width; zero or greater. |
height | integer | The 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:
- Rectangle — renders a class view or package view.
- Diamond — renders the joining diamond of an n-ary relation view.
- Text — renders a generalization set view or a note view.