RenderingFont

Inheritance: java.lang.Object

public class RenderingFont

Font for rendering.

Constructors

ConstructorDescription
RenderingFont(String fontName, float fontSize)Initializes a new instance of the RenderingFont

Methods

MethodDescription
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:

ParameterTypeDescription
fontNamejava.lang.Stringfont name
fontSizefloatfont size in points

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valueboolean

setColor(Color value)

public void setColor(Color value)

Sets color for the font.

Parameters:

ParameterTypeDescription
valueColor

setItalic(boolean value)

public void setItalic(boolean value)

Sets italic for the font.

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int