Class ProcessingOptions
java.lang.Object
org.stathissideris.ascii2image.core.ProcessingOptions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
getFromCustomShapes
(String tagName) int
int
boolean
boolean
boolean
void
putAllInCustomShapes
(HashMap<String, CustomShapeDefinition> customShapes) void
setAllCornersAreRound
(boolean b) void
setCharacterEncoding
(String characterEncoding) void
setColorCodesProcessingMode
(int i) void
setCustomShapes
(HashMap<String, CustomShapeDefinition> customShapes) void
setExportFormat
(int i) void
setInputFilename
(String string) void
setOutputFilename
(String string) void
setOverwriteFiles
(boolean b) void
setPerformSeparationOfCommonEdges
(boolean b) void
setPrintDebugOutput
(boolean b) void
setTabSize
(int i) void
setTagProcessingMode
(int i) void
setVerbose
(boolean b) boolean
verbose()
-
Field Details
-
USE_TAGS
public static final int USE_TAGS- See Also:
-
RENDER_TAGS
public static final int RENDER_TAGS- See Also:
-
IGNORE_TAGS
public static final int IGNORE_TAGS- See Also:
-
USE_COLOR_CODES
public static final int USE_COLOR_CODES- See Also:
-
RENDER_COLOR_CODES
public static final int RENDER_COLOR_CODES- See Also:
-
IGNORE_COLOR_CODES
public static final int IGNORE_COLOR_CODES- See Also:
-
FORMAT_JPEG
public static final int FORMAT_JPEG- See Also:
-
FORMAT_PNG
public static final int FORMAT_PNG- See Also:
-
FORMAT_GIF
public static final int FORMAT_GIF- See Also:
-
DEFAULT_TAB_SIZE
public static final int DEFAULT_TAB_SIZE- See Also:
-
-
Constructor Details
-
ProcessingOptions
public ProcessingOptions()
-
-
Method Details
-
areAllCornersRound
public boolean areAllCornersRound()- Returns:
-
getColorCodesProcessingMode
public int getColorCodesProcessingMode()- Returns:
-
getExportFormat
public int getExportFormat()- Returns:
-
performSeparationOfCommonEdges
public boolean performSeparationOfCommonEdges()- Returns:
-
getTagProcessingMode
public int getTagProcessingMode()- Returns:
-
setAllCornersAreRound
public void setAllCornersAreRound(boolean b) - Parameters:
b
-
-
setColorCodesProcessingMode
public void setColorCodesProcessingMode(int i) - Parameters:
i
-
-
setExportFormat
public void setExportFormat(int i) - Parameters:
i
-
-
setPerformSeparationOfCommonEdges
public void setPerformSeparationOfCommonEdges(boolean b) - Parameters:
b
-
-
setTagProcessingMode
public void setTagProcessingMode(int i) - Parameters:
i
-
-
getInputFilename
- Returns:
-
getOutputFilename
- Returns:
-
setInputFilename
- Parameters:
string
-
-
setOutputFilename
- Parameters:
string
-
-
verbose
public boolean verbose()- Returns:
-
printDebugOutput
public boolean printDebugOutput()- Returns:
-
setVerbose
public void setVerbose(boolean b) - Parameters:
b
-
-
setPrintDebugOutput
public void setPrintDebugOutput(boolean b) - Parameters:
b
-
-
overwriteFiles
public boolean overwriteFiles()- Returns:
-
setOverwriteFiles
public void setOverwriteFiles(boolean b) - Parameters:
b
-
-
getTabSize
public int getTabSize()- Returns:
-
setTabSize
public void setTabSize(int i) - Parameters:
i
-
-
getCharacterEncoding
-
setCharacterEncoding
-
getCustomShapes
-
setCustomShapes
-
putAllInCustomShapes
-
getFromCustomShapes
-