info.magnolia.imaging.operations.text
Class TextStyle
java.lang.Object
info.magnolia.imaging.operations.text.TextStyle
public class TextStyle
- extends Object
A simple bean holding font-related configuration.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHEARING_DIV_FACTOR
public static final double SHEARING_DIV_FACTOR
- See Also:
- Constant Field Values
CHARSPACING_DIV_FACTOR
public static final double CHARSPACING_DIV_FACTOR
- See Also:
- Constant Field Values
TextStyle
public TextStyle()
calculateShearingValue
public double calculateShearingValue()
calculateCharSpacing
public float calculateCharSpacing()
getFont
public Font getFont()
getFontName
public String getFontName()
setFontName
public void setFontName(String fontName)
getFontStyle
public int getFontStyle()
setFontStyle
public void setFontStyle(int fontStyle)
getFontSize
public int getFontSize()
setFontSize
public void setFontSize(int fontSize)
getColor
public Color getColor()
setColor
public void setColor(Color color)
getBackgroundColor
public Color getBackgroundColor()
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
getCharSpacing
public double getCharSpacing()
setCharSpacing
public void setCharSpacing(double charSpacing)
getShearingValue
public int getShearingValue()
setShearingValue
public void setShearingValue(int shearingValue)
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.