Interface IMarkerFillPropertiesStyle

All Superinterfaces:
Cloneable, org.gvsig.tools.lang.Cloneable, org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle, org.gvsig.tools.persistence.Persistent

public interface IMarkerFillPropertiesStyle extends org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle
IMarkerFillPropertiesStyle is an interface used by classes that are trying to fill a polygon using marker symbols for that. In order to permit a big mount of possibilities for the filling, this interface has the options to modify the rotation of the markers that compose the padding, the x and y offset, the x and y separation,and the style of the fill.
Author:
jaume dominguez faus - jaume.dominguez@iver.es
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the style of the fill that use marker symbols to do it(the filled).
    double
    Obtains the rotation of the marker symbol that compose the padding.
    double
    Returns the x offset of the markers that compose the padding
    double
    Return the separation (x axis) between the markers that compose the padding
    double
    Returns the y offset of the markers that compose the padding
    double
    Return the separation (y axis) between the markers that compose the padding
    void
    setFillStyle(int fillStyle)
    Sets the style for the fill that use marker symbols to do it(the filled).
    void
    setRotation(double rotation)
    Sets the rotation of the marker symbol that compose the padding.
    void
    Defines an utility symbol to show up a thumbnail by default, this symbol is a SimpleMarkerSymbol.
    void
    setXOffset(double offset)
    Establishes de x offset of the markers that compose the padding
    void
    setXSeparation(double separation)
    Sets the separation (x axis) between the markers that compose the padding
    void
    setYOffset(double offset)
    Establishes the y offset of the markers that compose the padding
    void
    setYSeparation(double separation)
    Sets the separation (y axis) between the markers that compose the padding

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

    clone

    Methods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle

    drawInsideRectangle, drawOutline, getDescription, isSuitableFor, setDescription

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

    loadFromState, saveToState
  • Field Details

  • Method Details

    • setSampleSymbol

      void setSampleSymbol(IMarkerSymbol marker)

      Defines an utility symbol to show up a thumbnail by default, this symbol is a SimpleMarkerSymbol. Thus, the drawInsideRectangle will always work. But it can be changed with setSampleSymbol(IMakerSymbol).

      If marker is null, it does nothing

    • getRotation

      double getRotation()
      Obtains the rotation of the marker symbol that compose the padding.
      Returns:
      the rotation of a marker
    • setRotation

      void setRotation(double rotation)
      Sets the rotation of the marker symbol that compose the padding.
      Parameters:
      rotation -
    • getXOffset

      double getXOffset()
      Returns the x offset of the markers that compose the padding
      Returns:
      xoffset of the marker
    • setXOffset

      void setXOffset(double offset)
      Establishes de x offset of the markers that compose the padding
      Parameters:
      offset -
    • getXSeparation

      double getXSeparation()
      Return the separation (x axis) between the markers that compose the padding
      Returns:
      x separation
    • setXSeparation

      void setXSeparation(double separation)
      Sets the separation (x axis) between the markers that compose the padding
      Parameters:
      separation -
    • getYOffset

      double getYOffset()
      Returns the y offset of the markers that compose the padding
      Returns:
      yoffset of the marker
    • setYOffset

      void setYOffset(double offset)
      Establishes the y offset of the markers that compose the padding
      Parameters:
      offset -
    • getYSeparation

      double getYSeparation()
      Return the separation (y axis) between the markers that compose the padding
      Returns:
      y separation
    • setYSeparation

      void setYSeparation(double separation)
      Sets the separation (y axis) between the markers that compose the padding
      Parameters:
      separation -
    • setFillStyle

      void setFillStyle(int fillStyle)
      Sets the style for the fill that use marker symbols to do it(the filled).
      Parameters:
      fillStyle -
    • getFillStyle

      int getFillStyle()
      Returns the style of the fill that use marker symbols to do it(the filled).
      Returns:
      int, fill style