Code example for Typeface

Methods: create

0
		typeFace = Typeface.create(name, style);
		size = i;
	} 
 
	public Font() { 
		typeFace = Typeface.create(Typeface.DEFAULT, Typeface.NORMAL);
		size = 8;
	} 
 
	public int getSize() { 
		return size;
	} 
 
	public String getName() {
		return typeFace.toString();
	} 
 
	public int getStyle() { 
		// TODO - convert Typeface style to Font style 
		return typeFace.getStyle();
	}