From d58889ef8c4d4a8acba13bd64f12ac7bb9fdc7db Mon Sep 17 00:00:00 2001 From: kitfox Date: Mon, 12 May 2014 22:30:57 +0000 Subject: 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 --- src/main/java/com/kitfox/svg/ClipPath.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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; } } -- cgit v1.2.3-55-g7522