public class TextStyle extends Object
Modifier and Type | Field and Description |
---|---|
static double |
CHARSPACING_DIV_FACTOR |
static double |
SHEARING_DIV_FACTOR |
Constructor and Description |
---|
TextStyle() |
Modifier and Type | Method and Description |
---|---|
float |
calculateCharSpacing() |
double |
calculateShearingValue() |
Color |
getBackgroundColor() |
double |
getCharSpacing() |
Color |
getColor() |
Font |
getFont() |
String |
getFontName() |
int |
getFontSize() |
int |
getFontStyle() |
int |
getShearingValue() |
void |
setBackgroundColor(Color backgroundColor) |
void |
setCharSpacing(double charSpacing) |
void |
setColor(Color color) |
void |
setFontName(String fontName) |
void |
setFontSize(int fontSize) |
void |
setFontStyle(int fontStyle) |
void |
setShearingValue(int shearingValue) |
public static final double SHEARING_DIV_FACTOR
public static final double CHARSPACING_DIV_FACTOR
public double calculateShearingValue()
public float calculateCharSpacing()
public Font getFont()
public String getFontName()
public void setFontName(String fontName)
public int getFontStyle()
public void setFontStyle(int fontStyle)
public int getFontSize()
public void setFontSize(int fontSize)
public Color getColor()
public void setColor(Color color)
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public double getCharSpacing()
public void setCharSpacing(double charSpacing)
public int getShearingValue()
public void setShearingValue(int shearingValue)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.