All Superinterfaces:
Paint, Transparency
All Known Implementing Classes:
RelativeLinearGradientPaint, RelativeRadialGradientPaint

public interface RotatablePaint extends Paint
Indicates a paint that needs to be rotated when a shape is rotated.
  • Method Details

    • rotatePaint

      void rotatePaint(double angle, Point2D anchor, Rectangle2D r1, Rectangle2D r2)
      Call to rotate this paint.
      Parameters:
      r1 - The bounds of the shape before rotation.
      r2 - The bounds of the shape after rotation.