Package io.deephaven.plot.util
Class ShapeUtils
java.lang.Object
io.deephaven.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
s
resized byfactor
-
rotate
Rotates a shape by multiplying x and y coordinates byangle
radians.- Parameters:
s
- shapeangle
- angle in radians- Returns:
- new shape equal to
s
rotated byangle
-