Create a bounding box
Graphical object where the bounding box will be attached
Parent bounding box of an object in a higher hierarchy position
Defines the bounding box to be symbol thus not calculating its boundaries by itself. NOTE: Borders need to be set!
ProtectedabsoluteProtectedborderProtectedborderProtectedborderProtectedborderProtectedborderProtectedborderProtectedborderProtectedborderProtectedboundingProtectedboundingProtectedchildProtecteddataProtectedisProtectedmarginProtectedparentProtectedrelativeProtectedrelativeProtectedsizeProtectedupperProtectedupperProtectedxProtectedyGet the center of a bounding box
Calculate the the absolute position by adding up all relative positions of all parents (including the own rel. pos.)
calculates the absolute positions of all children of this boundingBox
This method calculates the Absolute Positions recursively from the root element down to the leaf elements
This method calculates the Absolute Positions recursively
This method calculates the BoundingBoxes
The classes (or class names, see isInstanceOfClass()) of the objects whose bounding boxes, and their children's, to leave as they are, e.g. [GraphicalMeasure]
ProtectedcalculateProtectedcalculateCalculates the top and bottom borders (and margins) of this bounding box from those of its child elements.
whether to calculate those of the child elements first, recursively (default). false only recalculates this bounding box, when the borders below it are up to date (repeating the calculation for an unchanged child element gives the same borders).
This method computes the first non-overlapping position in the placementPsi Element for the current (this) positionAndShapeInfo
This method computes the first non-overlapping position in the placementPsi Element for the current (this) positionAndShapeInfo
Returns the objects of this bounding box and its descendants that lie inside the region (liesInside), or overlap it. The generic type T doesn't select the objects (types don't exist at runtime), classOrName does.
The class of the objects, e.g. GraphicalMeasure, or its name, which is unreliable in minified builds (see isInstanceOfClass())
This method checks if the given Psi's Margins lie inside the current Psi's Margins.
This method checks if the given Psi's Margins lie inside the current Psi's Margins
A bounding box delimits an area on the 2D plane.
Param: dataObject
Graphical object where the bounding box will be attached
Param: parent
Parent bounding box of an object in a higher hierarchy position
Param: connectChildToParent
Create a child to parent relationship too. Will be true by default