android.renderscript
Class Font

java.lang.Object
  extended by android.renderscript.BaseObj
      extended by android.renderscript.Font

public class Font
extends BaseObj


Nested Class Summary
static class Font.Style
           
 
Method Summary
static Font create(RenderScript rs, Resources res, String familyName, Font.Style fontStyle, float pointSize)
           
static Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize)
           
static Font createFromFile(RenderScript rs, Resources res, File path, float pointSize)
           
static Font createFromFile(RenderScript rs, Resources res, String path, float pointSize)
           
static Font createFromResource(RenderScript rs, Resources res, int id, float pointSize)
           
 
Methods inherited from class android.renderscript.BaseObj
destroy, equals, finalize, getName, hashCode, setName
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFromFile

public static Font createFromFile(RenderScript rs,
                                  Resources res,
                                  String path,
                                  float pointSize)

createFromFile

public static Font createFromFile(RenderScript rs,
                                  Resources res,
                                  File path,
                                  float pointSize)

createFromAsset

public static Font createFromAsset(RenderScript rs,
                                   Resources res,
                                   String path,
                                   float pointSize)

createFromResource

public static Font createFromResource(RenderScript rs,
                                      Resources res,
                                      int id,
                                      float pointSize)

create

public static Font create(RenderScript rs,
                          Resources res,
                          String familyName,
                          Font.Style fontStyle,
                          float pointSize)


Copyright © 2008-2012. All Rights Reserved.