com.googlecode.sarasvati.visual.util
Class FontUtil

java.lang.Object
  extended by com.googlecode.sarasvati.visual.util.FontUtil

public class FontUtil
extends Object


Constructor Summary
FontUtil()
           
 
Method Summary
static String concat(String[] str, int start, String middle)
           
static void setSizedFont(Graphics g, String text, float maxFontSize, int maxWidth)
           
static String[] split(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontUtil

public FontUtil()
Method Detail

setSizedFont

public static void setSizedFont(Graphics g,
                                String text,
                                float maxFontSize,
                                int maxWidth)

split

public static String[] split(String text)

concat

public static String concat(String[] str,
                            int start,
                            String middle)


Copyright © 2012. All Rights Reserved.