public abstract static class Main.ColorOptionHandler extends Main.SingleValueOptionHandler
Color
optionValue.
Subclasses should implement the handleOption
method which
takes a Color
and an SVGConverter
as parameters.Constructor and Description |
---|
ColorOptionHandler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
handleOption(java.awt.Color color,
SVGConverter c) |
void |
handleOption(java.lang.String optionValue,
SVGConverter c) |
java.awt.Color |
parseARGB(java.lang.String argbVal)
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.
|
getOptionValuesLength, safeHandleOption
handleOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOptionDescription
public void handleOption(java.lang.String optionValue, SVGConverter c)
handleOption
in class Main.SingleValueOptionHandler
public abstract void handleOption(java.awt.Color color, SVGConverter c)
public java.awt.Color parseARGB(java.lang.String argbVal)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.