bbox = realPath.dimensions();
}
if (sprite.getRotation() != null || sprite.getScaling() != null || sprite.getTranslation() != null) {
PathSprite transPath = new PathSprite(new RectangleSprite(bbox));
transPath = transPath.map(sprite.transformMatrix());
bbox = transPath.dimensions();
}
return bbox;
}