Class KMLScreenOverlay

    • Constructor Detail

      • KMLScreenOverlay

        public KMLScreenOverlay​(java.lang.String namespaceURI)
        Construct an instance.
        Parameters:
        namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
    • Method Detail

      • getOverlayXY

        public KMLVec2 getOverlayXY()
      • getScreenXY

        public KMLVec2 getScreenXY()
      • getRotationXY

        public KMLVec2 getRotationXY()
      • getSize

        public KMLVec2 getSize()
      • getRotation

        public java.lang.Double getRotation()
      • doPreRender

        protected void doPreRender​(KMLTraversalContext tc,
                                   DrawContext dc)
        Pre-renders the screen overlay geometry represented by this KMLScreenOverlay. This initializes the screen overlay geometry if necessary, prior to pre-rendering.
        Overrides:
        doPreRender in class KMLAbstractFeature
        Parameters:
        tc - the current KML traversal context.
        dc - the current draw context.
      • doRender

        protected void doRender​(KMLTraversalContext tc,
                                DrawContext dc)
        Renders the screen overlay geometry represented by this KMLScreenOverlay.
        Overrides:
        doRender in class KMLAbstractFeature
        Parameters:
        tc - the current KML traversal context.
        dc - the current draw context.
      • initializeRenderable

        protected void initializeRenderable​(KMLTraversalContext tc)
        Create the renderable that will represent the overlay.
        Parameters:
        tc - the current KML traversal context.
      • getRenderable

        public KMLRenderable getRenderable()
        Get the renderable that represents the screen overlay. The renderable is created the first time that the overlay is rendered. Until then, the method will return null.
        Returns:
        The renderable, or null if the renderable has not been created yet.