SingleWall.js 411 B

123456789101112131415161718192021
  1. //CLASS: 显示图像类。
  2. function SingleWall(points, image) {
  3. Geometry.apply(this, arguments);
  4. this.points = points;
  5. if(typeof image == Image) {
  6. this.useUrl = false;
  7. this.image = image;
  8. }else {
  9. this.useUrl = true;
  10. this.image = image;
  11. }
  12. this.disappearPointIndex=-1;
  13. this.isRing=true;
  14. this.state=0;
  15. };
  16. SingleWall.prototype = new Geometry();
  17. SingleWall.prototype.geoType = "SingleWall";