Class Main.ColorOptionHandler
java.lang.Object
org.apache.batik.apps.rasterizer.Main.AbstractOptionHandler
org.apache.batik.apps.rasterizer.Main.SingleValueOptionHandler
org.apache.batik.apps.rasterizer.Main.ColorOptionHandler
- All Implemented Interfaces:
Main.OptionHandler
- Enclosing class:
Main
Base class for options which expect a
Color optionValue.
Subclasses should implement the handleOption method which
takes a Color and an SVGConverter as parameters.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidhandleOption(Color color, SVGConverter c) voidhandleOption(String optionValue, SVGConverter c) Parse the input value, which should be in the following format: a.r.g.b where a, r, g and b are integer values, in decimal notation, between 0 and 255.Methods inherited from class Main.SingleValueOptionHandler
getOptionValuesLength, safeHandleOptionMethods inherited from class Main.AbstractOptionHandler
handleOptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Main.OptionHandler
getOptionDescription
-
Constructor Details
-
ColorOptionHandler
public ColorOptionHandler()
-
-
Method Details
-
handleOption
- Specified by:
handleOptionin classMain.SingleValueOptionHandler
-
handleOption
-
parseARGB
-