
package jp.riken.brain.ni.samuraigraph.figure.java2d;

import java.awt.Color;

/**
 *
 */
public interface SGIArrowPanelObserver
{

	public float getLineWidth();
	
	public int getLineType();
	
	public Color getColor();

	public float getHeadSize();

	public float getHeadOpenAngle();
	
	public float getHeadCloseAngle();

	public int getStartHeadType();
	
	public int getEndHeadType();


	public boolean setLineWidth( final float width );
	
	public boolean setLineType( final int type );
	
	public boolean setColor( final Color cl );

	public boolean setHeadSize( final float size );
	
	public boolean setHeadOpenAngle( final float angle );
	
	public boolean setHeadCloseAngle( final float angle );
	
	public boolean setStartHeadType( final int type );

	public boolean setEndHeadType( final int type );


	/**
	 * 
	 * @param open
	 * @param close
	 * @return
	 */
	public boolean hasValidAngle( final Number open, final Number close );

}

