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:
IMarkerSymbol_v2, IMultiLayerMarkerSymbol, IPictureLineSymbol, IPictureMarkerSymbol, ISimpleMarkerSymbol

public interface IMarkerSymbol extends org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol, org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport
Represents an ISymbol that draws a marker symbol.It has the different methods to obtain or define the attributes of a marker such as rotation, offset, size, color and IMask.
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 int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final String
     
    static final int
     
    static final int
     
    static final int
     

    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
    Returns the color of the marker symbol.
     
    Gets the offset for a marker symbol
    double
    Returns the rotation (in radians, counter-clockwise) of the marker symbol
    double
    Obtains the size of a marker symbol
    void
    setAlpha(int alpha)
    Defines the transparency of a line symbol.
    void
    setColor(Color color)
    Establishes a color for the marker symbol
    void
    setMask(IMask mask)
    Defines a mask for the symbol
    void
    Establishes the offset currently set for the marker symbol.
    void
    setRotation(double rotation)
    Sets the rotation of the marker symbol
    void
    setSize(double size)
    Sets the size of marker 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, setDescription, setFeature, setID

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

    loadFromState, saveToState
  • Field Details

  • Method Details

    • getRotation

      double getRotation()
      Returns the rotation (in radians, counter-clockwise) of the marker symbol
      Returns:
      double (rotation)
    • setRotation

      void setRotation(double rotation)
      Sets the rotation of the marker symbol
      Parameters:
      rotation -
    • getOffset

      Point2D getOffset()
      Gets the offset for a marker symbol
      Returns:
      Point2D
    • setOffset

      void setOffset(Point2D offset)
      Establishes the offset currently set for the marker symbol.
      Parameters:
      offset -
    • getSize

      double getSize()
      Obtains the size of a marker symbol
      Returns:
    • setSize

      void setSize(double size)
      Sets the size of marker symbol
      Parameters:
      size -
    • getColor

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

      void setColor(Color color)
      Establishes a color for the marker symbol
      Specified by:
      setColor in interface org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
      Parameters:
      color -
    • setAlpha

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

      IMask getMask()
      Returns:
      the mask of the symbol
    • setMask

      void setMask(IMask mask)
      Defines a mask for the symbol
      Parameters:
      mask - ,IMask