Class IconPainterContext

java.lang.Object
com.luciad.drawing.IconPainterContext
All Implemented Interfaces:
AutoCloseable

public final class IconPainterContext extends Object implements AutoCloseable
Contains context information for painting the icon.
  • Constructor Details Link icon

    • IconPainterContext Link icon

      public IconPainterContext(double displayScale)
      Creates a new context using the given display scale.
      Parameters:
      displayScale - the display scale.
  • Method Details Link icon

    • finalize Link icon

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

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getDisplayScale Link icon

      public double getDisplayScale()
      Returns the display scale of the screen on which the icon is displayed.

      See Map#setDisplayScale for more information on the concept of display scale.

      Returns:
      the display scale of the screen on which the icon is displayed.