Interface Graphic


  • public interface Graphic
    Defines the root abstraction of a graphic object taxonomy. This base interface specifies the methods common to a lightweight set of graphic objects.
    Since:
    GeoAPI 2.2
    • Method Detail

      • isVisible

        boolean isVisible()
        Returns true if this graphic is visible.
        Returns:
        true if this graphic is visible.
      • setVisible

        void setVisible​(boolean visible)
        Sets whether this graphic should be visible.
        Parameters:
        visible - true if this graphic should be visible.
      • dispose

        void dispose()
        Invoked by the container when this graphic is no longer needed. Implementations may use this method to release resources, if needed. Implementations may also implement this method to return an object to an object pool. It is an error to reference a Graphic in any way after its dispose method has been called.