Пример #1
0
        public CompositeItemVO clone()
        {
            CompositeItemVO tmp = new CompositeItemVO();

            tmp.composite = composite;
            tmp.itemName  = itemName;
            tmp.layerName = layerName;
            tmp.rotation  = rotation;
            tmp.tint      = tint;
            tmp.x         = x;
            tmp.y         = y;
            tmp.zIndex    = zIndex;

            tmp.scissorX      = scissorX;
            tmp.scissorY      = scissorY;
            tmp.scissorWidth  = scissorWidth;
            tmp.scissorHeight = scissorHeight;

            tmp.width  = width;
            tmp.height = height;

            return(tmp);
        }
Пример #2
0
 public void update(CompositeItemVO vo)
 {
     composite = new CompositeVO(vo.composite);
 }
Пример #3
0
 public CompositeItemVO(CompositeItemVO vo) : base(vo)
 {
     composite = new CompositeVO(vo.composite);
 }
        public CompositeItemVO clone()
        {
            CompositeItemVO tmp = new CompositeItemVO();
            tmp.composite = composite;
            tmp.itemName = itemName;
            tmp.layerName = layerName;
            tmp.rotation = rotation;
            tmp.tint = tint;
            tmp.x = x;
            tmp.y = y;
            tmp.zIndex = zIndex;

            tmp.scissorX = scissorX;
            tmp.scissorY = scissorY;
            tmp.scissorWidth = scissorWidth;
            tmp.scissorHeight = scissorHeight;

            tmp.width = width;
            tmp.height = height;

            return tmp;
        }
 public CompositeItemVO(CompositeItemVO vo)
     : base(vo)
 {
     composite = new CompositeVO(vo.composite);
 }
 public void update(CompositeItemVO vo)
 {
     composite = new CompositeVO(vo.composite);
 }