public class AreaStyle
extends java.lang.Object
Constructor and Description |
---|
AreaStyle(AreaImpl source) |
AreaStyle(float averageFontSize,
float averageFontWeight,
float averageFontStyle,
float averageColorLuminosity,
java.awt.Color backgroundColor) |
Modifier and Type | Method and Description |
---|---|
double |
getAverageColorLuminosity() |
double |
getAverageFontSize() |
double |
getAverageFontStyle() |
double |
getAverageFontWeight() |
java.awt.Color |
getBackgroundColor() |
boolean |
isSameStyle(AreaStyle other)
Compares two styles and decides if it is the same style.
|
void |
setAverageColorLuminosity(float averageColorLuminosity) |
void |
setAverageFontSize(float averageFontSize) |
void |
setAverageFontStyle(float averageFontStyle) |
void |
setAverageFontWeight(float averageFontWeight) |
void |
setBackgroundColor(java.awt.Color backgroundColor) |
public AreaStyle(float averageFontSize, float averageFontWeight, float averageFontStyle, float averageColorLuminosity, java.awt.Color backgroundColor)
public AreaStyle(AreaImpl source)
public double getAverageFontSize()
public void setAverageFontSize(float averageFontSize)
public double getAverageFontWeight()
public void setAverageFontWeight(float averageFontWeight)
public double getAverageFontStyle()
public void setAverageFontStyle(float averageFontStyle)
public double getAverageColorLuminosity()
public void setAverageColorLuminosity(float averageColorLuminosity)
public java.awt.Color getBackgroundColor()
public void setBackgroundColor(java.awt.Color backgroundColor)