com.supermap.mapping

Class MapEditStyle

  • java.lang.Object
    • com.supermap.mapping.MapEditStyle


  • public class MapEditStyle
    extends java.lang.Object
    This class defines the map editing styles.
    • Constructor Summary

      Constructors 
      Constructor and Description
      MapEditStyle()
      The default constructor constructs a new object MapEditStyle .
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      android.graphics.Bitmap getCenterHandle()
      Gets the center style.
      android.graphics.Bitmap getHandleSelectedStyle()
      Gets the selected style of the control point.
      android.graphics.Bitmap getHandleStyle()
      Gets the style of the control point.
      android.graphics.Bitmap getNodeSelectStyle()
      Gets the selected style of the node.
      android.graphics.Bitmap getNodeStyle()
      Gets the style of the node.
      android.graphics.Bitmap getRotateHandleStyle()
      Gets the style of the rotate control point.
      void setCenterHandle(android.graphics.Bitmap centerHandle)
      Sets the center style.
      void setHandleSelectedStyle(android.graphics.Bitmap handleSelectedStyle)
      Sets the selected style of the control point.
      void setHandleStyle(android.graphics.Bitmap handleStyle)
      Sets the style of the control point.
      void setNodeSelectStyle(android.graphics.Bitmap nodeSelectStyle)
      Sets the selected style of the node.
      void setNodeStyle(android.graphics.Bitmap nodeStyle)
      Sets the style of the node.
      void setRotateHandleStyle(android.graphics.Bitmap rotateHandleStyle)
      Sets the style of the rotate control point.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapEditStyle

        public MapEditStyle()
        The default constructor constructs a new object MapEditStyle .
    • Method Detail

      • getHandleStyle

        public android.graphics.Bitmap getHandleStyle()
        Gets the style of the control point.
        Returns:
        the current control point style.
      • setHandleStyle

        public void setHandleStyle(android.graphics.Bitmap handleStyle)
        Sets the style of the control point.
        Parameters:
        handleStyle - control point style.
      • getHandleSelectedStyle

        public android.graphics.Bitmap getHandleSelectedStyle()
        Gets the selected style of the control point.
        Returns:
        the choice of control point style.
      • setHandleSelectedStyle

        public void setHandleSelectedStyle(android.graphics.Bitmap handleSelectedStyle)
        Sets the selected style of the control point.
        Parameters:
        handleSelectedStyle - The choice of control point style.
      • getRotateHandleStyle

        public android.graphics.Bitmap getRotateHandleStyle()
        Gets the style of the rotate control point.
        Returns:
        The current rotation control point style.
      • setRotateHandleStyle

        public void setRotateHandleStyle(android.graphics.Bitmap rotateHandleStyle)
        Sets the style of the rotate control point.
        Parameters:
        rotateHandleStyle - Rotate the style of the control point.
      • getNodeStyle

        public android.graphics.Bitmap getNodeStyle()
        Gets the style of the node.
        Returns:
        The current style of the node.
      • setNodeStyle

        public void setNodeStyle(android.graphics.Bitmap nodeStyle)
        Sets the style of the node.
        Parameters:
        nodeStyle - Node style.
      • getNodeSelectStyle

        public android.graphics.Bitmap getNodeSelectStyle()
        Gets the selected style of the node.
        Returns:
        The current style of the selected node
      • setNodeSelectStyle

        public void setNodeSelectStyle(android.graphics.Bitmap nodeSelectStyle)
        Sets the selected style of the node.
        Parameters:
        nodeSelectStyle - Choose the style.
      • getCenterHandle

        public android.graphics.Bitmap getCenterHandle()
        Gets the center style.
        Returns:
        Center style.
      • setCenterHandle

        public void setCenterHandle(android.graphics.Bitmap centerHandle)
        Sets the center style.
        Parameters:
        centerHandle - Center style.