Keeping your current design, you should add a fourth collection, say for example ArrayList<Float> shapeStrokeWidth.
But as you can guess, it is becoming a too much growing and complex design. Too...
Type: Posts; User: andbin
Keeping your current design, you should add a fourth collection, say for example ArrayList<Float> shapeStrokeWidth.
But as you can guess, it is becoming a too much growing and complex design. Too...
Firstly, a "design" issue you should understand. You have used 3 distinct collections:
ArrayList<Shape> shapes = new ArrayList<Shape>();
ArrayList<Color>...