diff options
author | kitfox | 2014-05-13 00:30:57 +0200 |
---|---|---|
committer | kitfox | 2014-05-13 00:30:57 +0200 |
commit | d58889ef8c4d4a8acba13bd64f12ac7bb9fdc7db (patch) | |
tree | 2c3dc9c32ba5c5b094d7e6251217a0b859313e17 | |
parent | Can now parse colors set to the empty string. (diff) | |
download | svg-salamander-core-d58889ef8c4d4a8acba13bd64f12ac7bb9fdc7db.tar.gz svg-salamander-core-d58889ef8c4d4a8acba13bd64f12ac7bb9fdc7db.tar.xz svg-salamander-core-d58889ef8c4d4a8acba13bd64f12ac7bb9fdc7db.zip |
ClipPath now propegates updateTime() to children.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@175 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
-rw-r--r-- | src/main/java/com/kitfox/svg/ClipPath.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/com/kitfox/svg/ClipPath.java b/src/main/java/com/kitfox/svg/ClipPath.java index 417def2..5b00fc9 100644 --- a/src/main/java/com/kitfox/svg/ClipPath.java +++ b/src/main/java/com/kitfox/svg/ClipPath.java @@ -130,8 +130,10 @@ public class ClipPath extends SVGElement * Updates all attributes in this diagram associated with a time event. Ie,
* all attributes with track information.
*
+ * @param curTime
* @return - true if this node has changed state as a result of the time
* update
+ * @throws com.kitfox.svg.SVGException
*/
public boolean updateTime(double curTime) throws SVGException
{
@@ -159,6 +161,12 @@ public class ClipPath extends SVGElement build();
}
+ for (int i = 0; i < children.size(); ++i)
+ {
+ SVGElement ele = (SVGElement) children.get(i);
+ ele.updateTime(curTime);
+ }
+
return shapeChange;
}
}
|