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

public interface IPictureFillSymbol extends IFillSymbol
  • 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, WORLD

    Fields inherited from interface org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol

    SYMBOL_NAME

    Fields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol

    SELECTION_COLOR
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Defines the angle for the rotation of the image when it is added to create the padding
    org.gvsig.fmap.mapcontext.rendering.symbols.styles.IBackgroundFileStyle
    Returns the style associated to the image used in this symbol
    Returns 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.IBackgroundFileStyle
    Returns the style associated to the image used in this symbol when the feature is selected
    Returns the URL of the image used when the polygon is selected
    Returns the URL of the image that is used to create the padding to fill the polygon
    double
    Defines the scale for the x axis of the image when it is added to create the padding
    double
    Defines the scale for the y axis of the image when it is added to create the padding
    void
    setAngle(double angle)
    Sets the angle for the rotation of the image when it is added to create the padding
    void
    setImage(URL imageUrl)
    Defines the URL from where the picture to fill the polygon is taken.
    void
    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)
    void
    setSelImage(URL selImageUrl)
    Sets the URL for the image to be used as a picture fill symbol (when it is selected in the map)
    void
    setXScale(double xScale)
    Returns the scale for the x axis of the image when it is added to create the padding
    void
    setYScale(double yScale)
    Returns the scale for the y axis of the image when it is added to create the padding

    Methods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport

    copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setReferenceSystem, setUnit, toCartographicUnits

    Methods inherited from interface org.gvsig.tools.lang.Cloneable

    clone

    Methods inherited from interface org.gvsig.symbology.fmap.mapcontext.rendering.symbol.fill.IFillSymbol

    getFillAlpha, getFillColor, getOutline, hasFill, hasOutline, isSuitableFor, setFillColor, setHasFill, setHasOutline, setOutline

    Methods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable

    print

    Methods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol

    draw, draw, drawInsideRectangle, getColor, getDescription, getFeature, getID, getSymbolForSelection, getSymbolForSelection, getSymbolType, isShapeVisible, setColor, setDescription, setFeature, setID

    Methods inherited from interface org.gvsig.tools.persistence.Persistent

    loadFromState, saveToState
  • Method Details

    • setSelImage

      void setSelImage(URL selImageUrl) throws IOException
      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

      void setImage(URL imageUrl) throws IOException
      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

      void setMarkerFillProperties(IMarkerFillPropertiesStyle prop)
      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: