Class RenderingOptions
java.lang.Object
org.stathissideris.ascii2image.core.RenderingOptions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
float
getScale()
boolean
Should the sides of trapezoids and parallelograms have fixed width (false, default) or fixed slope (true)?boolean
boolean
boolean
void
setAntialias
(boolean b) void
setBackgroundColor
(Color backgroundColor) void
setDropShadows
(boolean b) void
setFixedSlope
(boolean b) Should the sides of trapezoids and parallelograms have fixed width (false, default) or fixed slope (true)?void
setFontURL
(String url) void
void
setRenderDebugLines
(boolean b) void
setScale
(float f)
-
Constructor Details
-
RenderingOptions
public RenderingOptions()
-
-
Method Details
-
getImageType
-
setImageType
-
getFontFamily
-
getFontURL
-
setFontURL
-
getCellHeight
public int getCellHeight() -
getCellWidth
public int getCellWidth() -
dropShadows
public boolean dropShadows() -
renderDebugLines
public boolean renderDebugLines() -
getScale
public float getScale() -
setDropShadows
public void setDropShadows(boolean b) -
setRenderDebugLines
public void setRenderDebugLines(boolean b) -
setScale
public void setScale(float f) -
performAntialias
public boolean performAntialias() -
setAntialias
public void setAntialias(boolean b) -
getBackgroundColor
-
setBackgroundColor
-
needsTransparency
public boolean needsTransparency() -
isFixedSlope
public boolean isFixedSlope()Should the sides of trapezoids and parallelograms have fixed width (false, default) or fixed slope (true)?- Returns:
- true for fixed slope, false for fixed width
-
setFixedSlope
public void setFixedSlope(boolean b) Should the sides of trapezoids and parallelograms have fixed width (false, default) or fixed slope (true)?- Parameters:
b
- true for fixed slope, false for fixed width
-