package org.academiadecodigo.simplegraphics.graphics;

/**
 * Methods for modifying a shape color
 * The color of the shape is used when drawing or filling
 */
public interface Colorable {

    /**
     * Sets the color of the shape
     *
     * @param color the new color
     */
    void setColor(Color color);

    /**
     * Gets the color of the shape
     * @return the shape color
     */
    Color getColor();
}
