Package app.media

Class PenStroke

java.lang.Object
app.media.Media
app.media.PenStroke
All Implemented Interfaces:
Serializable

public class PenStroke extends Media
Entity class for a pen stroke.

A pen stroke is defined by a starting position, a thickness, a colour, and a list of ending positions for the line segments which make up the stroke.

See Also:
  • Constructor Details

    • PenStroke

      public PenStroke(double x, double y, double thickness, String colour)
  • Method Details