IMultiColorable.java :  » Java-3D » jzy3d » org » jzy3d » colors » Java Open Source

Java Open Source » Java 3D » jzy3d 
jzy3d » org » jzy3d » colors » IMultiColorable.java
package org.jzy3d.colors;

/** {@link IMultiColorable} objects may have several colors interpolated between each of
 * their individual points colors.
 * <br>
 * A {@link IMultiColorable} object requires a {@link ColorMapper} that defines a strategy
 * for coloring points according to their position.
 *
 * @author Martin Pernollet
 */
public interface IMultiColorable {
  /** Set the colormapper that will be used by the Drawable, instead of using precomputed colors.*/
  public void setColorMapper(ColorMapper mapper);
  
  /** Get the colormapper.*/
  public ColorMapper getColorMapper();
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.