Package com.illumon.iris.db.plot.util
Class ShapeUtils
java.lang.Object
com.illumon.iris.db.plot.util.ShapeUtils
- All Implemented Interfaces:
Serializable
Utilities for
Shape.- See Also:
-
Method Summary
-
Method Details
-
resize
Scales a shape by multiplying x and y coordinates byfactor.- Parameters:
s- shapefactor- size factor- Returns:
- new shape equal to
sresized byfactor
-
rotate
Rotates a shape by multiplying x and y coordinates byangleradians.- Parameters:
s- shapeangle- angle in radians- Returns:
- new shape equal to
srotated byangle
-