Text.js 215 B

12345678910
  1. //CLASS:几何对象线类。
  2. function Text(points,name) {
  3. Geometry.apply(this, arguments);
  4. this.points = points;
  5. this.name=name;
  6. };
  7. Text.prototype = new Geometry();
  8. Text.prototype.geoType = "Text";