aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/dom
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2000-09-22 05:24:00 +0000
committerKeiron Liddle <keiron@apache.org>2000-09-22 05:24:00 +0000
commit154f7fa6134a9f5ada92771bb7738d4b4f3368bf (patch)
tree75754df5c89f88ab09b091e98247743522e014aa /src/org/apache/fop/dom
parent9097fc5e1b1a40eafbcf6f1952a2edc079a67e13 (diff)
downloadxmlgraphics-fop-154f7fa6134a9f5ada92771bb7738d4b4f3368bf.tar.gz
xmlgraphics-fop-154f7fa6134a9f5ada92771bb7738d4b4f3368bf.zip
put spread method in right place
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193708 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/dom')
-rw-r--r--src/org/apache/fop/dom/svg/SVGGradientElementImpl.java7
-rw-r--r--src/org/apache/fop/dom/svg/SVGLinearGradientElementImpl.java11
2 files changed, 5 insertions, 13 deletions
diff --git a/src/org/apache/fop/dom/svg/SVGGradientElementImpl.java b/src/org/apache/fop/dom/svg/SVGGradientElementImpl.java
index 008879044..4541796ea 100644
--- a/src/org/apache/fop/dom/svg/SVGGradientElementImpl.java
+++ b/src/org/apache/fop/dom/svg/SVGGradientElementImpl.java
@@ -63,8 +63,10 @@ SVG_SPREADMETHOD_PAD;
SVG_SPREADMETHOD_REFLECT;
SVG_SPREADMETHOD_REPEAT;
*/
+ SVGAnimatedEnumeration spreadMethod = new SVGAnimatedEnumerationImpl(SVG_SPREADMETHOD_UNKNOWN);
SVGAnimatedEnumeration units = new SVGAnimatedEnumerationImpl(SVG_UNIT_TYPE_UNKNOWN);
+
public SVGGradientElementImpl()
{
}
@@ -90,11 +92,12 @@ SVG_SPREADMETHOD_REPEAT;
public SVGAnimatedEnumeration getSpreadMethod( )
{
- return null;
+ return spreadMethod;
}
public void setSpreadMethod( SVGAnimatedEnumeration spreadMethod )
{
+ this.spreadMethod = spreadMethod;
}
public SVGAnimatedBoolean getExternalResourcesRequired( )
@@ -102,7 +105,7 @@ SVG_SPREADMETHOD_REPEAT;
return null;
}
- public void setExternalResourcesRequired( SVGAnimatedBoolean externalResourcesRequired )
+ public void setExternalResourcesRequired( SVGAnimatedBoolean externalResourcesRequired )
{
}
}
diff --git a/src/org/apache/fop/dom/svg/SVGLinearGradientElementImpl.java b/src/org/apache/fop/dom/svg/SVGLinearGradientElementImpl.java
index 1840e9747..3c38b9afd 100644
--- a/src/org/apache/fop/dom/svg/SVGLinearGradientElementImpl.java
+++ b/src/org/apache/fop/dom/svg/SVGLinearGradientElementImpl.java
@@ -63,7 +63,6 @@ public class SVGLinearGradientElementImpl extends SVGGradientElementImpl
SVGAnimatedLength x2;
SVGAnimatedLength y1;
SVGAnimatedLength y2;
-// short spreadMethod;
public SVGLinearGradientElementImpl()
{
@@ -108,14 +107,4 @@ public class SVGLinearGradientElementImpl extends SVGGradientElementImpl
{
this.y2 = y2;
}
-
-/* public short getSpreadMethod()
- {
- return spreadMethod;
- }
-
- public void setSpreadMethod(short spreadMethod)
- {
- this.spreadMethod = spreadMethod;
- }*/
}