Package paintingcanvas.drawable
This package contains the definitions, and the implementations of different
shapes you can draw onto the canvas.
-
Interface Summary Interface Description Anchorable<T extends Drawable<T>> Colorable<T extends Drawable<T>> Elements that can be colored in with aColor
Drawable<T extends Drawable<T>> An interface to connect to any objects that can be considered "painter.drawable.Drawable".Interactable Allows for interaction with elements on the canvas.Outlineable<T extends Drawable<T>> Elements that can be outlined.Positionable<T extends Drawable<T>> Elements that can be translated and rotated -
Class Summary Class Description Circle A Circle element.DrawableBase<T extends Drawable<T>> DrawableBase.InteractableShape<T extends Drawable<T>> DrawableBase.OutlineableDrawableBase<T extends Drawable<T>> DrawableBase.Shape<T extends Drawable<T>> Ellipse An ellipse element.Image Draws an image from the specified path.Line A line: with a startpoint and an endpointPath An SVG-like path used to draw lines and curves.Polygon A Polygon Element.Rectangle A Rectangle element.Square A Square element.Text A Text element, used for drawing text on the canvas.Triangle A Triangle element.