Adaptagrams
Public Member Functions | List of all members
vpsc::Rectangle Class Reference

A rectangle represents a fixed-size shape in the diagram that may be moved to prevent overlaps and satisfy constraints. More...

#include <rectangle.h>

Collaboration diagram for vpsc::Rectangle:
Collaboration graph

Public Member Functions

 Rectangle (double x, double X, double y, double Y, bool allowOverlap=false)
 Constructs a rectangle by specifying the positions of all four sides. More...
 

Detailed Description

A rectangle represents a fixed-size shape in the diagram that may be moved to prevent overlaps and satisfy constraints.

Constructor & Destructor Documentation

◆ Rectangle()

vpsc::Rectangle::Rectangle ( double  x,
double  X,
double  y,
double  Y,
bool  allowOverlap = false 
)

Constructs a rectangle by specifying the positions of all four sides.

Parameters
[in]xMinimum horizontal value.
[in]XMaximum horizontal value.
[in]yMinimum vertical value.
[in]YMaximum vertical value.
[in]allowOverlapnot used currently.

The documentation for this class was generated from the following files: