public class Font
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
DEFAULT_COLOR |
static java.lang.String |
DEFAULT_FAMILY |
static int |
DEFAULT_SIZE |
Constructor and Description |
---|
Font() |
Font(int size) |
Font(int size,
java.awt.Color color) |
Font(int size,
java.awt.Color color,
java.lang.String family) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor() |
java.lang.String |
getFamily() |
int |
getSize() |
void |
setColor(java.awt.Color color) |
void |
setFamily(java.lang.String family) |
void |
setSize(int size) |
java.lang.String |
toString() |
public static final int DEFAULT_SIZE
public static final java.awt.Color DEFAULT_COLOR
public static final java.lang.String DEFAULT_FAMILY
public Font()
public Font(int size)
public Font(int size, java.awt.Color color)
public Font(int size, java.awt.Color color, java.lang.String family)
public int getSize()
public void setSize(int size)
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
public java.lang.String getFamily()
public void setFamily(java.lang.String family)
public java.lang.String toString()
toString
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"