public final class Fill extends Object
Constructor and Description |
---|
Fill(String color,
boolean transparent)
Create a new fill from the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getColor()
Return the color for this fill.
|
boolean |
isTransparent()
Return true if this fill is transparent.
|
public Fill(String color, boolean transparent)
color
- color for this fill, must not be nulltransparent
- true if this fill is transparentpublic String getColor()
public boolean isTransparent()
Copyright (c) 2008-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).