public LinearGradientPaint2(
     java.awt.geom.Point2D start,
     java.awt.geom.Point2D end,
     float[] fractions,
     java.awt.Color[] colors) {
   GRADIENT =
       new java.awt.LinearGradientPaint(
           start, end, fractions, colors, java.awt.MultipleGradientPaint.CycleMethod.NO_CYCLE);
   copyArrays(fractions, colors);
 }
 public LinearGradientPaint2(
     java.awt.geom.Point2D start,
     java.awt.geom.Point2D end,
     float[] fractions,
     java.awt.Color[] colors,
     java.awt.MultipleGradientPaint.CycleMethod cycleMethod,
     java.awt.MultipleGradientPaint.ColorSpaceType colorSpace,
     java.awt.geom.AffineTransform gradientTransform) {
   GRADIENT =
       new java.awt.LinearGradientPaint(
           start, end, fractions, colors, cycleMethod, colorSpace, gradientTransform);
   copyArrays(fractions, colors);
 }
 public LinearGradientPaint2(
     float startX,
     float startY,
     float endX,
     float endY,
     float[] fractions,
     java.awt.Color[] colors) {
   GRADIENT =
       new java.awt.LinearGradientPaint(
           new java.awt.geom.Point2D.Float(startX, startY),
           new java.awt.geom.Point2D.Float(endX, endY),
           fractions,
           colors,
           java.awt.MultipleGradientPaint.CycleMethod.NO_CYCLE);
   copyArrays(fractions, colors);
 }