Package | Description |
---|---|
fr.lri.swingstates.canvas |
A package to program new widgets starting from the SwingStates' canvas that offers advanced features for programming interaction (state machines, tags, etc.).
|
Modifier and Type | Method and Description |
---|---|
CRectangle |
CShape.asRectangle() |
CRectangle |
CText.getAbsoluteRectangle(double w,
double h)
Returns a
CRectangle that surrounds this text. |
CRectangle |
CTag.getBoundingBox() |
CRectangle |
CShape.getBoundingBox() |
CRectangle |
CElement.getBoundingBox() |
CRectangle |
Canvas.getBoundingBox() |
CRectangle |
CText.getRelativeRectangle(double ratioX,
double ratioY)
Returns a
CRectangle that surrounds this text. |
CRectangle |
Canvas.newRectangle(double x,
double y,
double w,
double h)
Creates a new rectangle and add it to the canvas.
|
CRectangle |
Canvas.newRectangle(java.awt.geom.Point2D p,
double w,
double h)
Creates a new rectangle and add it to the canvas.
|
CRectangle |
Canvas.newRoundRectangle(double x,
double y,
double w,
double h,
double arcw,
double arch)
Creates a new rectangle and add it to the canvas.
|
CRectangle |
Canvas.newRoundRectangle(java.awt.geom.Point2D p,
double w,
double h,
double arcw,
double arch)
Creates a new rectangle and add it to the canvas.
|
CRectangle |
CRectangle.roundCorners(double arcw,
double arch)
Changes the arc used to round off the corners of this
CRectangle . |