Class RenderingOptions
- java.lang.Object
-
- org.stathissideris.ascii2image.core.RenderingOptions
-
public class RenderingOptions extends Object
- Author:
- Efstathios Sideris
-
-
Constructor Summary
Constructors Constructor Description RenderingOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
dropShadows()
Color
getBackgroundColor()
int
getCellHeight()
int
getCellWidth()
Font
getFont()
boolean
getForceFontSize()
float
getScale()
boolean
needsTransparency()
boolean
performAntialias()
boolean
renderDebugLines()
void
setAntialias(boolean b)
void
setBackgroundColor(Color backgroundColor)
void
setDropShadows(boolean b)
void
setFont(Font font)
void
setForceFontSize(boolean forceFontSize)
void
setRenderDebugLines(boolean b)
void
setScale(float f)
-
-
-
Method Detail
-
getCellHeight
public int getCellHeight()
- Returns:
-
getCellWidth
public int getCellWidth()
- Returns:
-
dropShadows
public boolean dropShadows()
- Returns:
-
renderDebugLines
public boolean renderDebugLines()
- Returns:
-
getScale
public float getScale()
- Returns:
-
setDropShadows
public void setDropShadows(boolean b)
- Parameters:
b
-
-
setRenderDebugLines
public void setRenderDebugLines(boolean b)
- Parameters:
b
-
-
setScale
public void setScale(float f)
- Parameters:
f
-
-
performAntialias
public boolean performAntialias()
- Returns:
-
setAntialias
public void setAntialias(boolean b)
- Parameters:
b
-
-
getBackgroundColor
public Color getBackgroundColor()
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
-
needsTransparency
public boolean needsTransparency()
-
getFont
public Font getFont()
-
setFont
public void setFont(Font font)
-
getForceFontSize
public boolean getForceFontSize()
-
setForceFontSize
public void setForceFontSize(boolean forceFontSize)
-
-