Package com.day.cq.dam.commons.watermark
Class Font
- java.lang.Object
-
- com.day.cq.dam.commons.watermark.Font
-
public class Font extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.Color
DEFAULT_COLOR
static java.lang.String
DEFAULT_FAMILY
static int
DEFAULT_SIZE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
DEFAULT_SIZE
public static final int DEFAULT_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_COLOR
public static final java.awt.Color DEFAULT_COLOR
-
DEFAULT_FAMILY
public static final java.lang.String DEFAULT_FAMILY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSize
public int getSize()
-
setSize
public void setSize(int size)
-
getColor
public java.awt.Color getColor()
-
setColor
public void setColor(java.awt.Color color)
-
getFamily
public java.lang.String getFamily()
-
setFamily
public void setFamily(java.lang.String family)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-