public RectShape() { mIndex = default(int); mLabelShape = null; mRectStream = null; mRect = null; }
public void _regLabel(ILabel nLabel) { LabelShape labelshape_ = new LabelShape(); labelshape_._initLabel(nLabel); mSelects.Add(labelshape_); }
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(); }
public void _setLabelShape(LabelShape nLabelShape) { mLabelShape = nLabelShape; }