Class RenderingOptions
java.lang.Object
org.stathissideris.ascii2image.core.RenderingOptions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintfloatgetScale()booleanShould the sides of trapezoids and parallelograms have fixed width (false, default) or fixed slope (true)?booleanbooleanbooleanvoidsetAntialias(boolean b) voidsetBackgroundColor(Color backgroundColor) voidsetDropShadows(boolean b) voidsetFixedSlope(boolean b) Should the sides of trapezoids and parallelograms have fixed width (false, default) or fixed slope (true)?voidsetFontURL(String url) voidvoidsetRenderDebugLines(boolean b) voidsetScale(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
-