/*******************************************************************

  Class:	CS6600, Graphics
  Author:	Yury Izrailevsky
	
  Assignment 1 - Paint program


  This file contains the implementation of YI_Figures interface.
*******************************************************************/

import java.awt.*;


public interface YI_Figures 
{
    
    // Enumerated type for possible figures
    public static final int FT_POLYGON = 0;
    public static final int FT_FHD = 1;
    public static final int FT_RECTANGLE = 2;
    public static final int FT_CIRCLE = 3;
    public static final int FT_LINE = 4;
    public static final int FT_ELLIPSE = 5;
    
    // gets type information
    public int whatFigureAmI();
    
    // draws the figure
    // g - graphics to draw in
    public int draw(Graphics g);
    
    // sets the fill-in property of the figure
    public int setFillIn(boolean mode);

    // sets the color of the figure
    public int setColor(Color color);

    // scales all points by a certain value
    public void scalePoints(double coef);
    
}// end of the YI_Figures interface

