Enum Class TLcdGXYIconPainter.ScalingMode

java.lang.Object
java.lang.Enum<TLcdGXYIconPainter.ScalingMode>
com.luciad.view.gxy.painter.TLcdGXYIconPainter.ScalingMode
All Implemented Interfaces:
Serializable, Comparable<TLcdGXYIconPainter.ScalingMode>, Constable
Enclosing class:
TLcdGXYIconPainter

public static enum TLcdGXYIconPainter.ScalingMode extends Enum<TLcdGXYIconPainter.ScalingMode>
Possible icon scaling modes.
  • Enum Constant Details

    • PIXEL

      public static final TLcdGXYIconPainter.ScalingMode PIXEL
      The icon size is defined as getScale * ( original icon size in pixels ). For example, a scale of 2 and original icon size of 16x16 pixels would result in icons taking up 32x32 pixels on the view.
    • METER

      public static final TLcdGXYIconPainter.ScalingMode METER
      The icon size is defined as getScale * ( original icon size in pixels ) * 1 meter/pixel. For example, a scale of 2 and original icon size of 16x16 pixels would result in the icon taking up the transformed equivalent of 32x32 meters on the view.
  • Method Details

    • values

      public static TLcdGXYIconPainter.ScalingMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TLcdGXYIconPainter.ScalingMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null