Interface Shape
-
- All Known Implementing Classes:
BitmapShape,VectorShape
public interface ShapeRepresents a single Applesoft shape. Note that the interface is mostly useful to get at the bitmap or vector shapes. This also implies that these implementations need to transform between eachother!- See Also:
BitmapShape,VectorShape
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLabel()Get the label of this shape.booleanisEmpty()Indicates if this shape is empty.BitmapShapetoBitmap()Transform to a BitmapShape.VectorShapetoVector()Transform to a VectorShape.
-
-
-
Method Detail
-
isEmpty
boolean isEmpty()
Indicates if this shape is empty.
-
getLabel
java.lang.String getLabel()
Get the label of this shape.
-
toBitmap
BitmapShape toBitmap()
Transform to a BitmapShape.
-
toVector
VectorShape toVector()
Transform to a VectorShape.
-
-