class BorderPainter implements Drawable, Serializable {

    @Override
    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof BorderPainter)) {
            return false;
        }
        BorderPainter that = (BorderPainter) obj;
        if (!this.color.equals(that.color)) {
            return false;
        }
        if (!this.stroke.equals(that.stroke)) {
            return false;
        }
        if (this.arcHeight != that.arcHeight) {
            return false;
        }
        if (this.arcWidth != that.arcWidth) {
            return false;
        }
        return true;
    }

    public  BorderPainter();
    public  BorderPainter(Color color, Stroke stroke);
    public  BorderPainter(Color color, Stroke stroke, double arcH, double arcW);

}