Class ShapeViewDecoratorAnimation
- java.lang.Object
-
- org.kie.workbench.common.stunner.core.client.animation.AbstractAnimation<LienzoShapeView<?>>
-
- org.kie.workbench.common.stunner.client.lienzo.shape.animation.ShapeViewDecoratorAnimation
-
- All Implemented Interfaces:
org.kie.workbench.common.stunner.core.client.animation.Animation<LienzoShapeView<?>>
public class ShapeViewDecoratorAnimation extends org.kie.workbench.common.stunner.core.client.animation.AbstractAnimation<LienzoShapeView<?>>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAlpha()StringgetColor()Supplier<LienzoShapeView<?>>getShapeView()LienzoShapeView<?>getSource()doublegetStrokeWidth()static ShapeViewDecoratorAnimationnewFillDecoratorAnimation(Supplier<LienzoShapeView<?>> shapeView, String fillColor, double fillAlpha)static ShapeViewDecoratorAnimationnewStrokeDecoratorAnimation(Supplier<LienzoShapeView<?>> shapeView, String strokeColor, double strokeWidth, double strokeAlpha)org.kie.workbench.common.stunner.core.client.animation.AnimationHandlerun()
-
-
-
Method Detail
-
newStrokeDecoratorAnimation
public static ShapeViewDecoratorAnimation newStrokeDecoratorAnimation(Supplier<LienzoShapeView<?>> shapeView, String strokeColor, double strokeWidth, double strokeAlpha)
-
newFillDecoratorAnimation
public static ShapeViewDecoratorAnimation newFillDecoratorAnimation(Supplier<LienzoShapeView<?>> shapeView, String fillColor, double fillAlpha)
-
getSource
public LienzoShapeView<?> getSource()
-
run
public org.kie.workbench.common.stunner.core.client.animation.AnimationHandle run()
-
getShapeView
public Supplier<LienzoShapeView<?>> getShapeView()
-
getColor
public String getColor()
-
getStrokeWidth
public double getStrokeWidth()
-
getAlpha
public double getAlpha()
-
-