Class RMMultipleStopGradient.AngleGradient

  • All Implemented Interfaces:
    java.awt.Paint, java.awt.PaintContext, java.awt.Transparency
    Enclosing class:
    RMMultipleStopGradient

    public static class RMMultipleStopGradient.AngleGradient
    extends RMMultipleStopGradient
    Multiple stop angle gradient with angles.
    • Constructor Detail

      • AngleGradient

        public AngleGradient​(float x0,
                             float y0,
                             float x1,
                             float y1,
                             RMGradientFill fill)
        Creates a new angle gradient.
    • Method Detail

      • setDeviceTransform

        public void setDeviceTransform​(java.awt.geom.AffineTransform x,
                                       java.awt.Rectangle devRect)
        Sets the transform from user space to device space.
        Overrides:
        setDeviceTransform in class RMMultipleStopGradient
      • doShading

        public void doShading​(int[] argb_samples,
                              int x,
                              int y,
                              int w,
                              int h)
        Override.
        Overrides:
        doShading in class RMMultipleStopGradient