Codota Logo
AnimatableTransformListValue
Code IndexAdd Codota to your IDE (free)

How to use
AnimatableTransformListValue
in
org.apache.batik.anim.values

Best Java code snippets using org.apache.batik.anim.values.AnimatableTransformListValue (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns a zero value of this AnimatableValue's type.  This returns an
 * empty transform list.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableTransformListValue(target, new Vector(5));
}
origin: fr.avianey.apache-xmlgraphics/batik

cumulativeDistances3[i - 1]
  + ((AnimatableTransformListValue)
    this.values[i - 1]).distanceTo3(this.values[i]);
cumulativeDistances2[i - 1]
  + ((AnimatableTransformListValue)
    this.values[i - 1]).distanceTo2(this.values[i]);
cumulativeDistances1[i - 1]
  + ((AnimatableTransformListValue)
    this.values[i - 1]).distanceTo1(this.values[i]);
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Updates the animated value with the given {@link AnimatableValue}.
 */
protected void updateAnimatedValue(AnimatableValue val) {
  if (val == null) {
    hasAnimVal = false;
  } else {
    hasAnimVal = true;
    AnimatableTransformListValue aval =
      (AnimatableTransformListValue) val;
    if (animVal == null) {
      animVal = new AnimSVGTransformList();
    }
    animVal.setAnimatedValue(aval.getTransforms());
  }
  fireAnimatedAttributeListeners();
}
origin: org.apache.xmlgraphics/batik-anim

  this.value = AnimatableTransformListValue.interpolate
    ((AnimatableTransformListValue) this.value, value1, value2,
     value3, nextValue1, nextValue2, nextValue3, interpolation1,
  break;
default:
  this.value = AnimatableTransformListValue.interpolate
    ((AnimatableTransformListValue) this.value, value1, value2,
     nextValue1, nextValue2, interpolation1, interpolation2,
origin: apache/batik

/**
 * Updates the animated value with the given {@link AnimatableValue}.
 */
protected void updateAnimatedValue(AnimatableValue val) {
  if (val == null) {
    hasAnimVal = false;
  } else {
    hasAnimVal = true;
    AnimatableTransformListValue aval =
      (AnimatableTransformListValue) val;
    if (animVal == null) {
      animVal = new AnimSVGTransformList();
    }
    animVal.setAnimatedValue(aval.getTransforms());
  }
  fireAnimatedAttributeListeners();
}
origin: fr.avianey.apache-xmlgraphics/batik

  this.value = AnimatableTransformListValue.interpolate
    ((AnimatableTransformListValue) this.value, value1, value2,
     value3, nextValue1, nextValue2, nextValue3, interpolation1,
  break;
default:
  this.value = AnimatableTransformListValue.interpolate
    ((AnimatableTransformListValue) this.value, value1, value2,
     nextValue1, nextValue2, interpolation1, interpolation2,
origin: apache/batik

/**
 * Returns a zero value of this AnimatableValue's type.  This returns an
 * empty transform list.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableTransformListValue(target, new Vector(5));
}
origin: org.apache.xmlgraphics/batik-anim

cumulativeDistances3[i - 1]
  + ((AnimatableTransformListValue)
    this.values[i - 1]).distanceTo3(this.values[i]);
cumulativeDistances2[i - 1]
  + ((AnimatableTransformListValue)
    this.values[i - 1]).distanceTo2(this.values[i]);
cumulativeDistances1[i - 1]
  + ((AnimatableTransformListValue)
    this.values[i - 1]).distanceTo1(this.values[i]);
origin: org.apache.xmlgraphics/batik-anim

/**
 * Updates the animated value with the given {@link AnimatableValue}.
 */
protected void updateAnimatedValue(AnimatableValue val) {
  if (val == null) {
    hasAnimVal = false;
  } else {
    hasAnimVal = true;
    AnimatableTransformListValue aval =
      (AnimatableTransformListValue) val;
    if (animVal == null) {
      animVal = new AnimSVGTransformList();
    }
    animVal.setAnimatedValue(aval.getTransforms());
  }
  fireAnimatedAttributeListeners();
}
origin: apache/batik

  this.value = AnimatableTransformListValue.interpolate
    ((AnimatableTransformListValue) this.value, value1, value2,
     value3, nextValue1, nextValue2, nextValue3, interpolation1,
  break;
default:
  this.value = AnimatableTransformListValue.interpolate
    ((AnimatableTransformListValue) this.value, value1, value2,
     nextValue1, nextValue2, interpolation1, interpolation2,
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Returns a zero value of this AnimatableValue's type.  This returns an
 * empty transform list.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableTransformListValue(target, new Vector(5));
}
origin: apache/batik

cumulativeDistances3[i - 1]
  + ((AnimatableTransformListValue)
    this.values[i - 1]).distanceTo3(this.values[i]);
cumulativeDistances2[i - 1]
  + ((AnimatableTransformListValue)
    this.values[i - 1]).distanceTo2(this.values[i]);
cumulativeDistances1[i - 1]
  + ((AnimatableTransformListValue)
    this.values[i - 1]).distanceTo1(this.values[i]);
origin: apache/batik

/**
 * Returns the base value of the attribute as an {@link AnimatableValue}.
 */
public AnimatableValue getUnderlyingValue(AnimationTarget target) {
  SVGTransformList tl = getBaseVal();
  int n = tl.getNumberOfItems();
  List v = new ArrayList(n);
  for (int i = 0; i < n; i++) {
    v.add(tl.getItem(i));
  }
  return new AnimatableTransformListValue(target, v);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Returns the base value of the attribute as an {@link AnimatableValue}.
 */
public AnimatableValue getUnderlyingValue(AnimationTarget target) {
  SVGTransformList tl = getBaseVal();
  int n = tl.getNumberOfItems();
  List v = new ArrayList(n);
  for (int i = 0; i < n; i++) {
    v.add(tl.getItem(i));
  }
  return new AnimatableTransformListValue(target, v);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns the base value of the attribute as an {@link AnimatableValue}.
 */
public AnimatableValue getUnderlyingValue(AnimationTarget target) {
  SVGTransformList tl = getBaseVal();
  int n = tl.getNumberOfItems();
  List v = new ArrayList(n);
  for (int i = 0; i < n; i++) {
    v.add(tl.getItem(i));
  }
  return new AnimatableTransformListValue(target, v);
}
origin: fr.avianey.apache-xmlgraphics/batik

    break;
return new AnimatableTransformListValue(target, t);
origin: apache/batik

    break;
return new AnimatableTransformListValue(target, t);
origin: org.apache.xmlgraphics/batik-bridge

    break;
return new AnimatableTransformListValue(target, t);
origin: org.apache.xmlgraphics/batik-anim

res = new AnimatableTransformListValue(target);
res.transforms = new Vector(newSize);
res.transforms.setSize(newSize);
origin: fr.avianey.apache-xmlgraphics/batik

res = new AnimatableTransformListValue(target);
res.transforms = new Vector(newSize);
res.transforms.setSize(newSize);
org.apache.batik.anim.valuesAnimatableTransformListValue

Javadoc

An SVG transform list value in the animation system.

Most used methods

  • <init>
    Creates a new AnimatableTransformListValue with a single transform.
  • distanceTo1
    Returns the distance between this value's first component and the specified other value's first comp
  • distanceTo2
    Returns the distance between this value's second component and the specified other value's second co
  • distanceTo3
    Returns the distance between this value's third component and the specified other value's third comp
  • getTransforms
    Gets the transforms.
  • interpolate
    Performs interpolation to the given value.

Popular in Java

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now