FontBuilder
Contents
[
Hide
]Inheritance: java.lang.Object
public class FontBuilder
Represents factory for Font class.
Constructors
Constructor | Description |
---|---|
FontBuilder() |
Methods
Method | Description |
---|---|
create(Typeface family, Unit size, int style) | |
create(TextPaint prototypeFont, float emSize) | Creates a new instance of the Font class with a specified size and style. |
equals(Object arg0) | |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
FontBuilder()
public FontBuilder()
create(Typeface family, Unit size, int style)
public static TextPaint create(Typeface family, Unit size, int style)
Parameters:
Parameter | Type | Description |
---|---|---|
family | android.graphics.Typeface | |
size | Unit | |
style | int |
Returns: android.text.TextPaint
create(TextPaint prototypeFont, float emSize)
public static TextPaint create(TextPaint prototypeFont, float emSize)
Creates a new instance of the Font class with a specified size and style.
Parameters:
Parameter | Type | Description |
---|---|---|
prototypeFont | android.text.TextPaint | The System.Drawing.Font for setting FontFamily and style of the new System.Drawing.Font. |
emSize | float | The em-size, in points, of the new font. |
Returns: android.text.TextPaint
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |