RenderingFont
Contents
[
Hide
]Inheritance: java.lang.Object
public class RenderingFont
Font for rendering.
Constructors
Constructor | Description |
---|---|
RenderingFont(String fontName, float fontSize) | Initializes a new instance of the RenderingFont |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getBold() | Gets bold for the font. |
getClass() | |
getColor() | Gets color for the font. |
getItalic() | Gets italic for the font. |
getName() | Gets name of the font. |
getSize() | Gets size of the font in points. |
hashCode() | |
notify() | |
notifyAll() | |
setBold(boolean value) | Sets bold for the font. |
setColor(Color value) | Sets color for the font. |
setItalic(boolean value) | Sets italic for the font. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
RenderingFont(String fontName, float fontSize)
public RenderingFont(String fontName, float fontSize)
Initializes a new instance of the RenderingFont
Parameters:
Parameter | Type | Description |
---|---|---|
fontName | java.lang.String | font name |
fontSize | float | font size in points |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getBold()
public boolean getBold()
Gets bold for the font.
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColor()
public Color getColor()
Gets color for the font.
Returns: Color
getItalic()
public boolean getItalic()
Gets italic for the font.
Returns: boolean
getName()
public String getName()
Gets name of the font.
Returns: java.lang.String
getSize()
public float getSize()
Gets size of the font in points.
Returns: float
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setBold(boolean value)
public void setBold(boolean value)
Sets bold for the font.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setColor(Color value)
public void setColor(Color value)
Sets color for the font.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color |
setItalic(boolean value)
public void setItalic(boolean value)
Sets italic for the font.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
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 |