Class ShapePoints

java.lang.Object
net.sf.jasperreports.customizers.shape.ShapePoints

public class ShapePoints extends Object
Specifies a list of points representing a shape.
Author:
Marco Orlandin (dejawho2@users.sourceforge.net)
  • Constructor Details

    • ShapePoints

      public ShapePoints()
  • Method Details

    • getPoints

      public List<Point> getPoints()
    • setPoints

      public void setPoints(List<Point> points)
    • decode

      public static ShapePoints decode(String encodedShapePoints)
      Build a ShapePoints from its JSON string.
      Parameters:
      encodedShapePoints - the JSON string of the class
      Returns:
      a ShapePoints or null if the JSON is invalid
    • encode

      public String encode()
      Create a JSON string from a ShapePoints.
      Returns:
      its JSON string or null if the parameter is null