Codota Logo
org.apache.batik.anim.values
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Performs interpolation to the given value.
 */
public AnimatableValue interpolate(AnimatableValue result,
                  AnimatableValue to,
                  float interpolation,
                  AnimatableValue accumulation,
                  int multiplier) {
  if (result == null) {
    result = new AnimatablePointListValue(target);
  }
  return super.interpolate
    (result, to, interpolation, accumulation, multiplier);
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Returns the underlying value of the animated attribute.  Used for
 * composition of additive animations.
 */
public AnimatableValue getUnderlyingValue() {
  return new AnimatableMotionPointValue(animationTarget, 0f, 0f, 0f);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Performs interpolation to the given value.
 */
public AnimatableValue interpolate(AnimatableValue result,
                  AnimatableValue to,
                  float interpolation,
                  AnimatableValue accumulation,
                  int multiplier) {
  if (result == null) {
    result = new AnimatablePercentageValue(target);
  }
  return super.interpolate
    (result, to, interpolation, accumulation, multiplier);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Creates a new AnimatablePaintValue for a URI reference with a
 * 'none' fallback.
 */
public static AnimatablePaintValue createURINonePaintValue
    (AnimationTarget target, String uri) {
  AnimatablePaintValue v = new AnimatablePaintValue(target);
  v.uri = uri;
  v.paintType = PAINT_URI_NONE;
  return v;
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns a zero value of this AnimatableValue's type.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableRectValue(target, 0f, 0f, 0f, 0f);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns a zero value of this AnimatableValue's type.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableColorValue(target, 0f, 0f, 0f);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns a zero value of this AnimatableValue's type.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableLengthValue
    (target, SVGLength.SVG_LENGTHTYPE_NUMBER, 0f,
     percentageInterpretation);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns a zero value of this AnimatableValue's type.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableNumberOrIdentValue(target, 0f, numericIdent);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns a zero value of this AnimatableValue's type.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableAngleValue
    (target, 0, SVGAngle.SVG_ANGLETYPE_UNSPECIFIED);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns the CSS text representation of the value.
 */
public String getCssText() {
  return super.getCssText() + UNITS[unit];
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns the CSS text representation of the value.
 */
public String getCssText() {
  if (isIdent) {
    return ident;
  }
  return super.getCssText();
}
origin: org.apache.xmlgraphics/batik-bridge

  /**
   * Returns whether the specified {@link AnimatableValue} is of a type allowed
   * by this animation.
   */
  protected boolean checkValueType(AnimatableValue v) {
    if (v instanceof AnimatablePaintValue) {
      return ((AnimatablePaintValue) v).getPaintType()
        == AnimatablePaintValue.PAINT_COLOR;
    }
    return v instanceof AnimatableColorValue;
  }
}
origin: org.apache.xmlgraphics/batik-anim

  /**
   * Returns the CSS text representation of the value.
   */
  public String getCssText() {
    return formatNumber(value);
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Performs interpolation to the given value.
 */
public AnimatableValue interpolate(AnimatableValue result,
                  AnimatableValue to,
                  float interpolation,
                  AnimatableValue accumulation,
                  int multiplier) {
  if (result == null) {
    result = new AnimatablePointListValue(target);
  }
  return super.interpolate
    (result, to, interpolation, accumulation, multiplier);
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Creates a new AnimatablePaintValue for a 'currentColor' value.
 */
public static AnimatablePaintValue createCurrentColorPaintValue
    (AnimationTarget target) {
  AnimatablePaintValue v = new AnimatablePaintValue(target);
  v.paintType = PAINT_CURRENT_COLOR;
  return v;
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Returns a zero value of this AnimatableValue's type.
 */
public AnimatableValue getZeroValue() {
  return new AnimatableMotionPointValue(target, 0f, 0f, 0f);
}
origin: org.apache.xmlgraphics/batik-anim

  /**
   * Returns the CSS text representation of the value.
   */
  public String getCssText() {
    return super.getCssText() + "%";
  }
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Creates a new AnimatablePaintValue for a 'inherit' value.
 */
public static AnimatablePaintValue createInheritPaintValue
    (AnimationTarget target) {
  AnimatablePaintValue v = new AnimatablePaintValue(target);
  v.paintType = PAINT_INHERIT;
  return v;
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Creates a new AnimatablePaintValue for a color value.
 */
public static AnimatablePaintValue createColorPaintValue
    (AnimationTarget target, float r, float g, float b) {
  AnimatablePaintValue v = new AnimatablePaintValue(target, r, g, b);
  v.paintType = PAINT_COLOR;
  return v;
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * Creates a new AnimatablePaintValue for a 'none' value.
 */
public static AnimatablePaintValue createNonePaintValue
    (AnimationTarget target) {
  AnimatablePaintValue v = new AnimatablePaintValue(target);
  v.paintType = PAINT_NONE;
  return v;
}
org.apache.batik.anim.values

Most used classes

  • AnimatableAngleOrIdentValue
    An SVG angle-or-identifier value in the animation system.
  • AnimatableAngleValue
    An SVG angle value in the animation system.
  • AnimatableBooleanValue
    A boolean value in the animation system.
  • AnimatableColorValue
    An SVG color value in the animation system.
  • AnimatableIntegerValue
    An integer in the animation engine.
  • AnimatableLengthOrIdentValue,
  • AnimatableLengthValue,
  • AnimatableMotionPointValue,
  • AnimatableNumberListValue,
  • AnimatableNumberOrIdentValue,
  • AnimatableNumberOrPercentageValue,
  • AnimatableNumberValue,
  • AnimatablePaintValue,
  • AnimatablePathDataValue,
  • AnimatablePointListValue,
  • AnimatablePreserveAspectRatioValue,
  • AnimatableRectValue,
  • AnimatableStringValue,
  • AnimatableTransformListValue
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