Class KmlScreenOverlay


  • public final class KmlScreenOverlay
    extends KmlNode
    A KML screen overlay is an image overlay fixed to the screen. Screen overlays may be used for compasses, logos and heads-up displays.
    Since:
    100.4.0
    • Method Detail

      • getColor

        public int getColor()
        Gets the KML screen overlay tint color.

        Pixels in the overlay image are multiplied by this color channel-by-channel.

        At version 100.4, only the alpha (opacity) channel is multiplied; all others are left as-is.

        The default value is 0xFFFFFFFF (white).

        Returns:
        the color mask in an integer 0xAARRGGBB format
        Since:
        100.4.0
      • getDrawOrder

        public int getDrawOrder()
        Gets the KML screen overlay's draw order. Overlays with higher draw order values are drawn on top of those with lower values.
        Returns:
        the draw order
        Since:
        100.4.0