Changeset 14328 in josm for trunk/src/com/kitfox/svg/RadialGradient.java
- Timestamp:
- 2018-10-14T15:15:50+02:00 (8 years ago)
- File:
-
- 1 edited
-
trunk/src/com/kitfox/svg/RadialGradient.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/RadialGradient.java
r11525 r14328 37 37 38 38 import com.kitfox.svg.xml.StyleAttribute; 39 import java.awt.Color; 39 40 import java.awt.MultipleGradientPaint; 40 41 import java.awt.Paint; … … 129 130 Point2D.Float pt1 = new Point2D.Float(cx, cy); 130 131 Point2D.Float pt2 = hasFocus ? new Point2D.Float(fx, fy) : pt1; 132 float[] stopFractions = getStopFractions(); 133 Color[] stopColors = getStopColors(); 131 134 if (gradientUnits == GU_USER_SPACE_ON_USE) 132 135 { … … 135 138 r, 136 139 pt2, 137 getStopFractions(),138 getStopColors(),140 stopFractions, 141 stopColors, 139 142 method, 140 143 MultipleGradientPaint.ColorSpaceType.SRGB, … … 152 155 r, 153 156 pt2, 154 getStopFractions(),155 getStopColors(),157 stopFractions, 158 stopColors, 156 159 method, 157 160 MultipleGradientPaint.ColorSpaceType.SRGB,
Note:
See TracChangeset
for help on using the changeset viewer.
