SpriteComponent.rectangle(double width, double height, String imagePath) : this.fromSprite(width, height, Sprite(imagePath));