Class RenderingOptions

java.lang.Object
org.stathissideris.ascii2image.core.RenderingOptions

public class RenderingOptions extends Object
  • Constructor Details

    • RenderingOptions

      public RenderingOptions()
  • Method Details

    • getImageType

      public RenderingOptions.ImageType getImageType()
    • setImageType

      public void setImageType(RenderingOptions.ImageType type)
    • getFontFamily

      public String getFontFamily()
    • getFontURL

      public String getFontURL()
    • setFontURL

      public void setFontURL(String url)
    • 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

      public Color getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor(Color backgroundColor)
    • 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