Interface RotatablePaint
- All Superinterfaces:
Paint
,Transparency
- All Known Implementing Classes:
RelativeLinearGradientPaint
,RelativeRadialGradientPaint
Indicates a paint that needs to be rotated when a shape is rotated.
-
Field Summary
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
Method Summary
Modifier and TypeMethodDescriptionvoid
rotatePaint
(double angle, Point2D anchor, Rectangle2D r1, Rectangle2D r2) Call to rotate this paint.Methods inherited from interface java.awt.Paint
createContext
Methods inherited from interface java.awt.Transparency
getTransparency
-
Method Details
-
rotatePaint
Call to rotate this paint.- Parameters:
r1
- The bounds of the shape before rotation.r2
- The bounds of the shape after rotation.
-