diff options
Diffstat (limited to 'src/main/java/com/kitfox/svg/Stop.java')
-rw-r--r-- | src/main/java/com/kitfox/svg/Stop.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/kitfox/svg/Stop.java b/src/main/java/com/kitfox/svg/Stop.java index b3990c6..3cd6145 100644 --- a/src/main/java/com/kitfox/svg/Stop.java +++ b/src/main/java/com/kitfox/svg/Stop.java @@ -104,7 +104,7 @@ public class Stop extends SVGElement { }
}
- if (getPres(sty.setName("stop-color")))
+ if (getStyle(sty.setName("stop-color")))
{
Color newVal = sty.getColorValue();
if (newVal != color)
@@ -114,7 +114,7 @@ public class Stop extends SVGElement { }
}
- if (getPres(sty.setName("stop-opacity")))
+ if (getStyle(sty.setName("stop-opacity")))
{
float newVal = sty.getFloatValue();
if (newVal != opacity)
|