class ImageTitle extends Title {

    @Override
    public Size2D arrange(Graphics2D g2, RectangleConstraint constraint) {
        Size2D s = new Size2D(this.image.getWidth(null),
                this.image.getHeight(null));
        return new Size2D(calculateTotalWidth(s.getWidth()),
                calculateTotalHeight(s.getHeight()));
    }

    public  ImageTitle(Image image);
    public  ImageTitle(Image image, RectangleEdge position,
            HorizontalAlignment horizontalAlignment,
            VerticalAlignment verticalAlignment);
    public  ImageTitle(Image image, int height, int width, 
            RectangleEdge position, HorizontalAlignment horizontalAlignment,
            VerticalAlignment verticalAlignment, RectangleInsets padding);

}