|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IShapeFactory
Abstract factory that creates a Shape for use as prototype shapes in IPaintStrategies. The location of the center of the shape and the x and y scales can be specified.
Method Summary | |
---|---|
java.awt.Shape |
makeShape(double x,
double y,
double xScale,
double yScale)
Returns a Shape object centered at (x, y) and with the specified x and y dimensions. |
Method Detail |
---|
java.awt.Shape makeShape(double x, double y, double xScale, double yScale)
x
- x-coordinate of the center of the shapey
- y-coordinate of the center of the shapexScale
- The x-dimension of the shape, usually the x-radius.yScale
- The y-dimension of the shape, usually the y-radius.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |