com.mxgraph.swing.util.mxMorphing Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AptSpringProcessor Show documentation
Show all versions of AptSpringProcessor Show documentation
This project contains the apt processor that implements all the checks enumerated in @Verify. It is a self contained, and
shaded jar.
The newest version!
/**
* Copyright (c) 2007, Gaudenz Alder
*/
package com.mxgraph.swing.util;
import java.awt.Graphics;
import java.util.HashMap;
import java.util.Map;
import com.mxgraph.model.mxGeometry;
import com.mxgraph.swing.mxGraphComponent;
import com.mxgraph.swing.view.mxCellStatePreview;
import com.mxgraph.util.mxEvent;
import com.mxgraph.util.mxEventObject;
import com.mxgraph.util.mxPoint;
import com.mxgraph.util.mxRectangle;
import com.mxgraph.view.mxCellState;
import com.mxgraph.view.mxGraph;
/**
* Provides animation effects.
*/
public class mxMorphing extends mxAnimation
{
/**
* Reference to the enclosing graph instance.
*/
protected mxGraphComponent graphComponent;
/**
* Specifies the maximum number of steps for the morphing. Default is
* 6.
*/
protected int steps;
/**
* Counts the current number of steps of the animation.
*/
protected int step;
/**
* Ease-off for movement towards the given vector. Larger values are
* slower and smoother. Default is 1.5.
*/
protected double ease;
/**
* Maps from cells to origins.
*/
protected Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy