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

public interface ILineStyle extends org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle
Interface that controls the properties that define the style of a line.This properties are the width, stroke, offset and arrow decorator style( for example if the line includes markers as an arrow to specify an orientation).
Author:
jaume dominguez faus - jaume.dominguez@iver.es
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the arrow decorator style that has the line
    double
     
     
    float
    Returns the width of the line
    double
    Returns the offset of the line
    Returns the stroke of the line
    void
    Sets the arrow decorator style of the line
    void
    setLineWidth(float width)
    Establishes the width of the line
    void
    setOffset(double offset)
    Establishes the offset of the line
    void
    setStroke(Stroke stroke)
    Sets the stroke of the line

    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
  • Method Details

    • getLineWidth

      float getLineWidth()
      Returns the width of the line
      Returns:
    • setLineWidth

      void setLineWidth(float width)
      Establishes the width of the line
      Parameters:
      width - of the line
    • getStroke

      Stroke getStroke()
      Returns the stroke of the line
      Returns:
      Stroke of the line
    • setStroke

      void setStroke(Stroke stroke)
      Sets the stroke of the line
      Parameters:
      stroke - ,stroke to be established
    • getArrowDecorator

      IArrowDecoratorStyle getArrowDecorator()
      Gets the arrow decorator style that has the line
      Returns:
      ArrowDecoratorStyle
    • setArrowDecorator

      void setArrowDecorator(IArrowDecoratorStyle arrowDecoratorStyle)
      Sets the arrow decorator style of the line
      Parameters:
      arrowDecoratorStyle - , ArrowDecoratorStyle
    • getOffset

      double getOffset()
      Returns the offset of the line
      Returns:
    • setOffset

      void setOffset(double offset)
      Establishes the offset of the line
      Parameters:
      offset -
    • getCartographicStroke

      Stroke getCartographicStroke()
    • getCartographicOffset

      double getCartographicOffset()