Newer
Older
PureATN_M / src / main / java / cit / PureATN / PPPath.java
package cit.PureATN;

import java.awt.Color;
import java.awt.Shape;
import java.awt.geom.Path2D;

import org.piccolo2d.nodes.PPath;

public class PPPath extends PPath.Double {
    public PPPath(){
        super(new Path2D.Float());
        // setStrokePaint(DEFAULT_STROKE_PAINT);
        // setStroke(DEFAULT_STROKE);
        setPaint(null);
    }
    public void setPathTo(final Shape aShape) {
        this.getPath().reset();
        append(aShape, false);
    }
    // public PInterpolatingActivity animateToStrokeColor(final Color destColor, final long duration) {
    //     return super.animateToColor(destColor, duration);
        
    // }
}