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 SummaryFields inherited from interface java.awt.TransparencyBITMASK, OPAQUE, TRANSLUCENT
- 
Method SummaryModifier and TypeMethodDescriptionvoidrotatePaint(double angle, Point2D anchor, Rectangle2D r1, Rectangle2D r2) Call to rotate this paint.Methods inherited from interface java.awt.PaintcreateContextMethods inherited from interface java.awt.TransparencygetTransparency
- 
Method Details- 
rotatePaintCall to rotate this paint.- Parameters:
- r1- The bounds of the shape before rotation.
- r2- The bounds of the shape after rotation.
 
 
-