this.shape.setShape(new OvalShape());
break;
case 2:
- this.shape.setShape(new PathShape(PublisherShape.returnTrianglePath(), 96, 96));
+ this.shape.setShape(new PathShape(PublisherShape.returnTrianglePath(), 2*PublisherActivity.SHAPE_WIDTH, 2*PublisherActivity.SHAPE_HEIGHT));
break;
default:
this.shape.setShape(new RectShape());
public void setScale(int currentWidth, int currentHeight)
{
this.box.setScale(currentWidth, currentHeight);
+ this.setShape();
}
}