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(Color color,
SVGConverter c) |
void |
handleOption(String optionValue,
SVGConverter c) |
Color |
parseARGB(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, safeHandleOptionhandleOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOptionDescriptionpublic void handleOption(String optionValue, SVGConverter c)
handleOption in class Main.SingleValueOptionHandlerpublic abstract void handleOption(Color color, SVGConverter c)
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.