Package org.geotools.styling
Class FillImpl.ConstantFill
- Object
- 
- ConstantFill
 
- 
- 
Constructor SummaryConstructors Constructor Description ConstantFill()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(StyleVisitor visitor)Objectaccept(TraversingStyleVisitor visitor, Object data)calls the visit method of a StyleVisitorvoidsetBackgroundColor(Expression backgroundColor)voidsetColor(Expression color)This parameter gives the solid color that will be used for a Fill.
 The color value is RGB-encoded using two hexidecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with the hash (#) sign.voidsetGraphicFill(Graphic graphicFill)This parameter indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic to use.voidsetOpacity(Expression opacity)This specifies the level of translucency to use when rendering the fill.- 
Methods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface FillgetColor, getGraphicFill, getOpacity
 
- 
 
- 
- 
- 
Method Detail- 
setColorpublic void setColor(Expression color) Description copied from interface:FillThis parameter gives the solid color that will be used for a Fill.
 The color value is RGB-encoded using two hexidecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with the hash (#) sign. The hexidecimal digits beetween A and F may be in either upper or lower case. For example, full red is encoded as "#ff0000" (with no quotation marks).
 - 
setBackgroundColorpublic void setBackgroundColor(Expression backgroundColor) 
 - 
setOpacitypublic void setOpacity(Expression opacity) Description copied from interface:FillThis specifies the level of translucency to use when rendering the fill.
 The value is encoded as a floating-point value between 0.0 and 1.0 with 0.0 representing totally transparent and 1.0 representing totally opaque, with a linear scale of translucency for intermediate values.
 For example, "0.65" would represent 65% opacity.- Specified by:
- setOpacityin interface- Fill
 
 - 
setGraphicFillpublic void setGraphicFill(Graphic graphicFill) Description copied from interface:FillThis parameter indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic to use.- Specified by:
- setGraphicFillin interface- Fill
 
 - 
acceptpublic void accept(StyleVisitor visitor) 
 
- 
 
-