Class MapPaintSettings

    • Method Detail

      • load

        private void load()
      • isUseRealWidth

        public boolean isUseRealWidth()
        Determines if the real width of ways should be used
        Returns:
        true if the real width of ways should be used
      • isShowDirectionArrow

        public boolean isShowDirectionArrow()
        Determines if directional arrows should be displayed
        Returns:
        true if directional arrows should be displayed
      • isShowOnewayArrow

        public boolean isShowOnewayArrow()
        Determines if arrows for oneways should be displayed
        Returns:
        true if arrows for oneways should be displayed
      • getSelectedColor

        public Color getSelectedColor()
        Returns color for selected objects (nodes and ways)
        Returns:
        color for selected objects
      • getSelectedColor

        public Color getSelectedColor​(int alpha)
        Returns color for selected objects (nodes and ways) with a given alpha
        Parameters:
        alpha - alpha component in the range 0-255
        Returns:
        color for selected objects
      • getDefaultSegmentWidth

        public int getDefaultSegmentWidth()
        Returns default width for ways segments
        Returns:
        default width for ways segments
      • getRelationSelectedColor

        public Color getRelationSelectedColor​(int alpha)
        Returns color for selected relations with a given alpha
        Parameters:
        alpha - alpha component in the range 0-255
        Returns:
        color for selected relations
      • getHighlightColor

        public Color getHighlightColor()
        Returns color for hightlighted objects
        Returns:
        color for hightlighted objects
      • getInactiveColor

        public Color getInactiveColor()
        Returns color for inactive objects
        Returns:
        color for inactive objects
      • getNodeColor

        public Color getNodeColor()
        Returns color for nodes
        Returns:
        color for nodes
      • getTaggedColor

        public Color getTaggedColor()
        Returns color for tagged nodes
        Returns:
        color for tagged nodes
      • getConnectionColor

        public Color getConnectionColor()
        Returns color for multiply connected nodes
        Returns:
        color for multiply connected nodes
      • getTaggedConnectionColor

        public Color getTaggedConnectionColor()
        Returns color for tagged and multiply connected nodes
        Returns:
        color for tagged and multiply connected nodes
      • isShowOrderNumber

        public boolean isShowOrderNumber()
        Determines if the segment numbers of ways should be displayed
        Returns:
        true if the segment numbers of ways should be displayed
      • isShowOrderNumberOnSelectedWay

        public boolean isShowOrderNumberOnSelectedWay()
        Determines if the segment numbers of the selected way should be displayed
        Returns:
        true if the segment numbers of the selected way should be displayed
      • setShowHeadArrowOnly

        public void setShowHeadArrowOnly​(boolean showHeadArrowOnly)
        Specifies if only the last arrow of a way should be displayed
        Parameters:
        showHeadArrowOnly - true if only the last arrow of a way should be displayed
      • isShowHeadArrowOnly

        public boolean isShowHeadArrowOnly()
        Determines if only the last arrow of a way should be displayed
        Returns:
        true if only the last arrow of a way should be displayed
      • getShowNamesDistance

        public int getShowNamesDistance()
        Returns the distance at which names should be drawn
        Returns:
        the distance at which names should be drawn
      • getUseStrokesDistance

        public int getUseStrokesDistance()
        Returns the distance at which strokes should be used
        Returns:
        the distance at which strokes should be used
      • getShowIconsDistance

        public int getShowIconsDistance()
        Returns the distance at which icons should be drawn
        Returns:
        the distance at which icons should be drawn
      • getSelectedNodeSize

        public int getSelectedNodeSize()
        Returns the size of selected nodes
        Returns:
        the size of selected nodes
      • getConnectionNodeSize

        public int getConnectionNodeSize()
        Returns the size of multiply connected nodes
        Returns:
        the size of multiply connected nodes
      • getUnselectedNodeSize

        public int getUnselectedNodeSize()
        Returns the size of unselected nodes
        Returns:
        the size of unselected nodes
      • getTaggedNodeSize

        public int getTaggedNodeSize()
        Returns the size of tagged nodes
        Returns:
        the size of tagged nodes
      • isFillSelectedNode

        public boolean isFillSelectedNode()
        Determines if selected nodes should be filled
        Returns:
        true if selected nodes should be filled
      • isFillUnselectedNode

        public boolean isFillUnselectedNode()
        Determines if unselected nodes should be filled
        Returns:
        true if unselected nodes should be filled
      • isFillConnectionNode

        public boolean isFillConnectionNode()
        Determines if multiply connected nodes should be filled
        Returns:
        true if multiply connected nodes should be filled
      • isFillTaggedNode

        public boolean isFillTaggedNode()
        Determines if tagged nodes should be filled
        Returns:
        true if tagged nodes should be filled
      • isOutlineOnly

        public boolean isOutlineOnly()
        Determines if only the data area outline should be drawn
        Returns:
        true if only the data area outline should be drawn