Class MinimapLayout

    • Constructor Detail

      • MinimapLayout

        public MinimapLayout()
    • Method Detail

      • setPosition

        public void setPosition​(int xOffset,
                                int yOffset,
                                int width,
                                int height)
        Parameters:
        xOffset - The horizontal offset between the minimap and the edge of its container.
        • if positive: positions the minimap inside the container's left edge
        • if negative: positions the minimap inside the container's right edge
        • if 0: positions the minimap exactly on the container's left edge
        • if -1: positions the minimap exactly on the container's right edge
        yOffset - The vertical offset between the minimap and the edge of its container.
        • if positive: positions the minimap inside the container's bottom edge
        • if negative: positions the minimap inside the container's top edge
        • if 0: positions the minimap exactly on the container's bottom edge
        • if -1: positions the minimap exactly on the container's top edge
        width - The width of the minimap, including its border.
        height - The height of the minimap, including its border.
      • setBounds

        public void setBounds​(double minX,
                              double maxX,
                              double minY,
                              double maxY)