mirror of
https://github.com/AppleCommander/bastools.git
synced 2024-05-28 19:41:31 +00:00
21 lines
635 B
Java
21 lines
635 B
Java
package io.github.applecommander.bastools.api.shapes;
|
|
|
|
/**
|
|
* Represents 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 BitmapShape
|
|
* @see VectorShape
|
|
*/
|
|
public interface Shape {
|
|
/** Indicates if this shape is empty. */
|
|
public boolean isEmpty();
|
|
/** Get the label of this shape. */
|
|
public String getLabel();
|
|
/** Transform to a BitmapShape. */
|
|
public BitmapShape toBitmap();
|
|
/** Transform to a VectorShape. */
|
|
public VectorShape toVector();
|
|
}
|