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 | Class and Description |
---|---|
class |
CEllipse
An ellipse shape for use with a
Canvas . |
class |
CRectangle
A rectangle shape for use with a
Canvas . |
class |
CSegment
A segment for use with an
Canvas . |
Modifier and Type | Method and Description |
---|---|
CRectangularShape |
CShape.asRectangularShape() |
CRectangularShape |
CSegment.setBoundingBox(double minx,
double miny,
double width,
double height)
Define this rectangular shape by its bounding box.
|
CRectangularShape |
CRectangularShape.setBoundingBox(double minx,
double miny,
double width,
double height)
Define this rectangular shape by its bounding box.
|
CRectangularShape |
CSegment.setBoundingBox(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
Define this rectangular shape by its bounding box.
|
CRectangularShape |
CRectangularShape.setBoundingBox(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
Define this rectangular shape by its bounding box.
|
CRectangularShape |
CSegment.setDiagonal(double x1,
double y1,
double x2,
double y2)
Define this rectangular shape by its diagonal.
|
CRectangularShape |
CRectangularShape.setDiagonal(double x1,
double y1,
double x2,
double y2)
Define this rectangular shape by its diagonal.
|
CRectangularShape |
CSegment.setDiagonal(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
Define this rectangular shape by its diagonal.
|
CRectangularShape |
CRectangularShape.setDiagonal(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
Define this rectangular shape by its diagonal.
|
CRectangularShape |
CRectangularShape.setHeight(double h)
Sets the height of this
CRectangularShape . |
CRectangularShape |
CRectangularShape.setWidth(double w)
Sets the width of this
CRectangularShape . |