Class Polyline

java.lang.Object
org.openpatch.scratch.extensions.tiled.Polyline

public class Polyline extends Object
The Polyline class represents a polyline object in Tiled. It includes a list of points that make up the polyline.

Example usage:


 Polyline p = new Polyline();
 p.points = new ArrayList<Point>();
 p.points.add(new Point(0, 0));
 p.points.add(new Point(10, 10));
 
  • Field Details

    • points

      public List<org.openpatch.scratch.extensions.tiled.Point> points
      The list of points that make up the polyline.
  • Constructor Details

    • Polyline

      public Polyline()