Class ColorArrowSymbol

All Implemented Interfaces:
Serializable, Cloneable, ColorEnhanced

public class ColorArrowSymbol extends ArrowSymbol implements ColorEnhanced
A ColorArrowSymbol is similar to a normal arrow but it has the additional feature that arrows are colored according to a color enhancement scheme based on the vector magnitude.
Since:
3.2.0
Author:
Peter Hollemans
See Also:
  • Constructor Details

    • ColorArrowSymbol

      public ColorArrowSymbol(int uComponentAtt, int vComponentAtt, Palette pal, EnhancementFunction func)
      Creates a new color arrow symbol based on U and V components.
      Parameters:
      uComponentAtt - the feature attribute for U component.
      vComponentAtt - the feature attribute for V component.
      pal - the color palette for color enhancement.
      func - the enhancement function.
    • ColorArrowSymbol

      public ColorArrowSymbol(int magnitudeAtt, int directionAtt, EarthTransform2D trans, Palette pal, EnhancementFunction func)
      Creates a new color arrow symbol based on magnitude and direction components.
      Parameters:
      magnitudeAtt - the feature attribute for vector magnitude.
      directionAtt - the feature attribute for vector direction.
      trans - the earth transform used for converting directions.
      pal - the color palette for color enhancement.
      func - the enhancement function.
  • Method Details