Interface IFillSymbol
- All Superinterfaces:
org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport,Cloneable,org.gvsig.tools.lang.Cloneable,org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable,org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol,org.gvsig.tools.persistence.Persistent
- All Known Subinterfaces:
IMarkerFillSymbol,IMultiLayerFillSymbol,IPictureFillSymbol,ISimpleFillSymbol
public interface IFillSymbol
extends org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol, org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
Interface that extends ISymbol interface in order to define methods for
fill symbols which can manage specific attributes of them.
- Author:
- jaume dominguez faus - jaume.dominguez@iver.es
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport.CartographicContext -
Field Summary
FieldsFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
PAPER, WORLDFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
SELECTION_COLOR -
Method Summary
Modifier and TypeMethodDescriptionintObtains the transparency of the fill symbolObtains the ILineSymbol interface of the outlinebooleanhasFill()booleanbooleanisSuitableFor(org.gvsig.fmap.geom.Geometry geom) voidsetFillColor(Color color) Sets the color that will be used to draw the filling pattern of this symbol.voidsetHasFill(boolean hasFill) voidsetHasOutline(boolean hasOutline) voidsetOutline(ILineSymbol outline) Sets the color of the outline.Methods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, setUnit, toCartographicUnitsMethods inherited from interface org.gvsig.tools.lang.Cloneable
cloneMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable
printMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
draw, draw, drawInsideRectangle, getColor, getDescription, getFeature, getID, getSymbolForSelection, getSymbolForSelection, getSymbolType, isShapeVisible, setColor, setDescription, setFeature, setIDMethods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToState
-
Field Details
-
SYMBOL_NAME
- See Also:
-
-
Method Details
-
isSuitableFor
boolean isSuitableFor(org.gvsig.fmap.geom.Geometry geom) - Specified by:
isSuitableForin interfaceorg.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
-
setFillColor
Sets the color that will be used to draw the filling pattern of this symbol.- Parameters:
Color-
-
setOutline
Sets the color of the outline.- Parameters:
color-
-
getFillColor
Color getFillColor()- Returns:
- Returns the color.
-
getOutline
ILineSymbol getOutline()Obtains the ILineSymbol interface of the outline- Returns:
- the outline,ILineSymbol.
-
getFillAlpha
int getFillAlpha()Obtains the transparency of the fill symbol- Returns:
- the transparency of the fill symbol
-
hasFill
boolean hasFill() -
setHasFill
void setHasFill(boolean hasFill) -
hasOutline
boolean hasOutline() -
setHasOutline
void setHasOutline(boolean hasOutline)
-