Class ShapePoints
java.lang.Object
net.sf.jasperreports.customizers.shape.ShapePoints
Specifies a list of points representing a shape.
- Author:
- Marco Orlandin (dejawho2@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapePointsBuild aShapePointsfrom its JSON string.encode()Create a JSON string from aShapePoints.void
-
Constructor Details
-
ShapePoints
public ShapePoints()
-
-
Method Details
-
getPoints
-
setPoints
-
decode
Build aShapePointsfrom its JSON string.- Parameters:
encodedShapePoints- the JSON string of the class- Returns:
- a
ShapePointsor null if the JSON is invalid
-
encode
Create a JSON string from aShapePoints.- Returns:
- its JSON string or null if the parameter is null
-