Enum Class TLsp3DIconStyle.ScalingMode

java.lang.Object
java.lang.Enum<TLsp3DIconStyle.ScalingMode>
com.luciad.view.lightspeed.style.TLsp3DIconStyle.ScalingMode
All Implemented Interfaces:
Serializable, Comparable<TLsp3DIconStyle.ScalingMode>, Constable
Enclosing class:
TLsp3DIconStyle

public static enum TLsp3DIconStyle.ScalingMode extends Enum<TLsp3DIconStyle.ScalingMode>
Mode that indicates how the icon size is determined.
Since:
2012.0
  • Enum Constant Details

    • SCALE_FACTOR

      public static final TLsp3DIconStyle.ScalingMode SCALE_FACTOR
      Mode indicating that the icon's resulting size is obtained by scaling the icon with the icon size set on this style.
    • WORLD_SCALING

      public static final TLsp3DIconStyle.ScalingMode WORLD_SCALING
      Mode indicating that the icon's resulting size is obtained by scaling the icon so that its largest bounding box size in world coordinates corresponds to the world size set on the this style.
    • VIEW_SCALING

      public static final TLsp3DIconStyle.ScalingMode VIEW_SCALING
      Mode indicating that the icon's resulting size is obtained by scaling the icon so that its largest bounding box size in world coordinates corresponds to the pixel size set on the this style.
  • Method Details

    • values

      public static TLsp3DIconStyle.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 TLsp3DIconStyle.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