Class BloomStyle

java.lang.Object
com.luciad.layers.styles.BloomStyle
All Implemented Interfaces:
AutoCloseable

public final class BloomStyle extends Object implements AutoCloseable
This class contains styling properties that determine how bloom is applied to individual shapes and objects.

Left: no bloom. Right: bloom.
Left: no bloom. Right: bloom.

Bloom can be used to increase the perceived brightness of an object. See the map effects article on how to use bloom.

For a bloom style to have any effect, you must ensure the BloomEffect on the map's GraphicsEffects is also enabled.

Since:
2026.1
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • newBuilder

      @NotNull public static BloomStyle.Builder newBuilder()
      Returns a new builder for creating a BloomStyle.
      Returns:
      a new builder for creating a BloomStyle.
    • getIntensity

      public double getIntensity()
      Returns the intensity.
      Returns:
      the intensity.
    • getThreshold

      public double getThreshold()
      Returns the threshold.
      Returns:
      the threshold.
    • asBuilder

      @NotNull public BloomStyle.Builder asBuilder()
      Returns a builder that has all properties of this bloom style.
      Returns:
      a builder that has all properties of this bloom style.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object