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:
IMultiLayerLineSymbol, IPictureLineSymbol, ISimpleLineSymbol

public interface ILineSymbol extends org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol, org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
Interface for line symbols.It has the different methods to obtain or define the attributes of a line such as color, style, width and alpha (transparency).
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

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

    PAPER, WORLD

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

    SELECTION_COLOR
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Obtains the transparency of the line symbol
    Returns the color of the line symbol
    Obtains the style of the line symbol.
    double
    Returns the width of the line symbol
    void
    setAlpha(int outlineAlpha)
    Defines the transparency of a line symbol.
    void
    Sets the color for a line symbol
    void
    Defines the style of the line symbol to be used.
    void
    setLineWidth(double width)
    Sets the width of the line symbol.

    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.fmap.mapcontext.rendering.symbols.IPrintable

    print

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

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

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

    loadFromState, saveToState
  • Field Details

  • Method Details

    • getColor

      Color getColor()
      Returns the color of the line symbol
      Specified by:
      getColor in interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
      Returns:
      Color
    • setLineColor

      void setLineColor(Color color)
      Sets the color for a line symbol
      Parameters:
      color -
    • getLineStyle

      ILineStyle getLineStyle()
      Obtains the style of the line symbol.
      Returns:
      ILineStyle, the style of the line symbol
    • setLineStyle

      void setLineStyle(ILineStyle lineStyle)
      Defines the style of the line symbol to be used.
      Parameters:
      lineStyle -
    • setLineWidth

      void setLineWidth(double width)
      Sets the width of the line symbol.
      Parameters:
      width - , the width of the line
    • getLineWidth

      double getLineWidth()
      Returns the width of the line symbol
      Returns:
    • getAlpha

      int getAlpha()
      Obtains the transparency of the line symbol
      Returns:
    • setAlpha

      void setAlpha(int outlineAlpha)
      Defines the transparency of a line symbol.
      Parameters:
      outlineAlpha - , the transparency