Ejemplo n.º 1
0
 public LabelShape()
 {
     mRectShapes = new List<RectShape>();
     mPullPoint = new Point2I(default(int), default(int));
     mLabelStream = null;
     mLabel = null;
 }
Ejemplo n.º 2
0
 public LabelShape()
 {
     mRectShapes = new List<RectShape>();
     mPullPoint = new Point2I(default(int), default(int));
     mPullState = PullState_.mNone_;
     mMoveState = MoveState_.mNone_;
     mLabelStream = null;
     mLabel = null;
 }
Ejemplo n.º 3
0
 public void _initLabel(ILabel nlabel)
 {
     base._initRect(nlabel);
     base._setLabelShape(this);
     mLabel = nlabel;
     ShapeDescriptorSingleton shapeDescriptorSingleton_ = __singleton<ShapeDescriptorSingleton>._instance();
     mLabelStream = shapeDescriptorSingleton_._labelDescriptor(nlabel._styleName());
     List<IRect> rects_ = nlabel._getRects();
     if (null == rects_)
     {
         return;
     }
     int index_ = 0;
     foreach (IRect i in rects_)
     {
         RectShape rect_ = new RectShape();
         rect_._initRect(i);
         rect_._setLabelShape(this);
         rect_._setIndex(index_);
         mRectShapes.Add(rect_);
         index_++;
     }
 }