//CLASS:几何对象线类。 function Text(points,name) { Geometry.apply(this, arguments); this.points = points; this.name=name; }; Text.prototype = new Geometry(); Text.prototype.geoType = "Text";