DrawableTextBitmap.java :  » Java-3D » jzy3d » org » jzy3d » plot3d » text » drawable » Java Open Source

Java Open Source » Java 3D » jzy3d 
jzy3d » org » jzy3d » plot3d » text » drawable » DrawableTextBitmap.java
package org.jzy3d.plot3d.text.drawable;

import org.jzy3d.colors.Color;
import org.jzy3d.maths.Coord3d;
import org.jzy3d.plot3d.text.DrawableTextWrapper;
import org.jzy3d.plot3d.text.ITextRenderer;
import org.jzy3d.plot3d.text.renderers.TextBitmapRenderer;

public class DrawableTextBitmap extends DrawableTextWrapper{
  public DrawableTextBitmap(String txt, Coord3d position, Color color){  
    super(txt, position, color, getRenderer());
  }

  protected static ITextRenderer getRenderer(){
    return new TextBitmapRenderer();
  }
}
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.