示例#1
0
 public RectShape()
 {
     mIndex = default(int);
     mLabelShape = null;
     mRectStream = null;
     mRect = null;
 }
示例#2
0
 public void _regLabel(ILabel nLabel)
 {
     LabelShape labelshape_ = new LabelShape();
     labelshape_._initLabel(nLabel);
     mSelects.Add(labelshape_);
 }
示例#3
0
 public void _createLabel(Point2I nPoint)
 {
     this._pushDown(nPoint);
     this._resetShape();
     SideItem sideItem_ = mSideBar._getChooseSideItem();
     LabelCreater labelCreater_ = sideItem_._getTag() as LabelCreater;
     labelCreater_._setObject(mObject);
     labelCreater_._setX(nPoint._getX());
     labelCreater_._setY(nPoint._getY());
     ILabel label_ = labelCreater_._runCreate() as ILabel;
     if (null == label_)
     {
         mSideBar._resetActiveTab();
         this._pushUp();
         return;
     }
     LabelShape labelshape_ = new LabelShape();
     labelshape_._initLabel(label_);
     mSelects.Add(labelshape_);
     mSideBar._resetActiveTab();
     this._pushUp();
 }
示例#4
0
 public void _setLabelShape(LabelShape nLabelShape)
 {
     mLabelShape = nLabelShape;
 }