Interface IPictureFillSymbol
- All Superinterfaces:
org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport,Cloneable,org.gvsig.tools.lang.Cloneable,IFillSymbol,org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable,org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol,org.gvsig.tools.persistence.Persistent
-
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
Fields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
PAPER, WORLDFields inherited from interface org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
SYMBOL_NAMEFields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
SELECTION_COLOR -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAngle()Defines the angle for the rotation of the image when it is added to create the paddingorg.gvsig.fmap.mapcontext.rendering.symbols.styles.IBackgroundFileStyleReturns the style associated to the image used in this symbolReturns the IMarkerFillProperties that allows this class to treat the picture as a marker in order to scale it, rotate it and so on.org.gvsig.fmap.mapcontext.rendering.symbols.styles.IBackgroundFileStyleReturns the style associated to the image used in this symbol when the feature is selectedReturns the URL of the image used when the polygon is selectedReturns the URL of the image that is used to create the padding to fill the polygondoubleDefines the scale for the x axis of the image when it is added to create the paddingdoubleDefines the scale for the y axis of the image when it is added to create the paddingvoidsetAngle(double angle) Sets the angle for the rotation of the image when it is added to create the paddingvoidDefines the URL from where the picture to fill the polygon is taken.voidSets the MarkerFillProperties in order to allow the user to modify the picture as a marker (it is possible to scale it, rotate it and so on)voidsetSelImage(URL selImageUrl) Sets the URL for the image to be used as a picture fill symbol (when it is selected in the map)voidsetXScale(double xScale) Returns the scale for the x axis of the image when it is added to create the paddingvoidsetYScale(double yScale) Returns the scale for the y axis of the image when it is added to create the paddingMethods 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.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol
getFillAlpha, getFillColor, getOutline, hasFill, hasOutline, isSuitableFor, setFillColor, setHasFill, setHasOutline, setOutlineMethods 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
-
Method Details
-
setSelImage
Sets the URL for the image to be used as a picture fill symbol (when it is selected in the map)- Parameters:
imageFile- , File- Throws:
IOException
-
setImage
Defines the URL from where the picture to fill the polygon is taken.- Parameters:
imageFile-- Throws:
IOException
-
getMarkerFillProperties
IMarkerFillPropertiesStyle getMarkerFillProperties()Returns the IMarkerFillProperties that allows this class to treat the picture as a marker in order to scale it, rotate it and so on.- Returns:
- markerFillProperties,IMarkerFillPropertiesStyle
-
setMarkerFillProperties
Sets the MarkerFillProperties in order to allow the user to modify the picture as a marker (it is possible to scale it, rotate it and so on)- Parameters:
prop-
-
getAngle
double getAngle()Defines the angle for the rotation of the image when it is added to create the padding- Returns:
- angle
-
setAngle
void setAngle(double angle) Sets the angle for the rotation of the image when it is added to create the padding- Parameters:
angle-
-
getXScale
double getXScale()Defines the scale for the x axis of the image when it is added to create the padding- Returns:
- xScale
-
setXScale
void setXScale(double xScale) Returns the scale for the x axis of the image when it is added to create the padding- Parameters:
xScale-
-
getYScale
double getYScale()Defines the scale for the y axis of the image when it is added to create the padding- Returns:
- yScale
-
setYScale
void setYScale(double yScale) Returns the scale for the y axis of the image when it is added to create the padding- Parameters:
yScale-
-
getSource
URL getSource()Returns the URL of the image that is used to create the padding to fill the polygon- Returns:
- imagePath
-
getSelectedSource
URL getSelectedSource()Returns the URL of the image used when the polygon is selected- Returns:
-
getBackgroundFileStyle
org.gvsig.fmap.mapcontext.rendering.symbols.styles.IBackgroundFileStyle getBackgroundFileStyle()Returns the style associated to the image used in this symbol- Returns:
-
getSelectedBackgroundFileStyle
org.gvsig.fmap.mapcontext.rendering.symbols.styles.IBackgroundFileStyle getSelectedBackgroundFileStyle()Returns the style associated to the image used in this symbol when the feature is selected- Returns:
-