com.rolemodelsoft.drawlet
Interface PolygonFigure

All Known Implementing Classes:
PolygonShape

public interface PolygonFigure
extends Figure

This interface defines protocols for Figures whose boundaries are defined by a polygon.


Fields inherited from interface com.rolemodelsoft.drawlet.Figure
FILL_COLOR_PROPERTY, LINE_COLOR_PROPERTY, LOCATION_PROPERTY, RELATION_PROPERTY, SHAPE_PROPERTY, SIZE_PROPERTY, STRING_PROPERTY, STYLE_PROPERTY, TEXT_COLOR_PROPERTY
 
Method Summary
 java.awt.Polygon getPolygon()
          Answer a Polygon associated with the figure
 void setPolygon(java.awt.Polygon polygon)
          Set the Polygon associated with the figure
 
Methods inherited from interface com.rolemodelsoft.drawlet.Figure
addPropertyChangeListener, addRelatedLocationListener, contains, contains, contains, disconnect, editTool, getHandles, getLocator, getStyle, intersects, intersects, isObsolete, isWithin, isWithin, locatorAt, move, move, relatedLocationListeners, removePropertyChangeListener, removeRelatedLocationListener, requestConnection, setBounds, setSize, setSize, setStyle, translate
 
Methods inherited from interface com.rolemodelsoft.drawlet.Paintable
getBottom, getBounds, getHeight, getLeft, getRight, getSize, getTop, getWidth, paint
 
Methods inherited from interface com.rolemodelsoft.drawlet.util.Duplicatable
duplicate, duplicateIn, postDuplicate
 

Method Detail

getPolygon

public java.awt.Polygon getPolygon()
Answer a Polygon associated with the figure
Returns:
the Polygon associated with the figure

setPolygon

public void setPolygon(java.awt.Polygon polygon)
Set the Polygon associated with the figure
Parameters:
polygon - the Polygon