com.supermap.mapping.collector

Class ElementLine



  • public class ElementLine
    extends CollectorElement
    Line type collection object class.
    • Constructor Detail

      • ElementLine

        public ElementLine()
        Construct a new line type of collection object
    • Method Detail

      • fromGeometry

        public boolean fromGeometry(Geometry geometry)
        construct Line type collection object by Geometry.
        Specified by:
        fromGeometry in class CollectorElement
        Parameters:
        geometry - geographic element.
        Returns:
        A boolean. Return true if successful; otherwise, false.