Exemplo n.º 1
0
        public override Scene.SceneObj OnCopy()
        {
            Pic e = new Pic();
            //this
            e.drawblock = this.drawblock;
            e.color = this.color;
            //uielement
            e.Text = this.Text;
            e.Orient = this.Orient;
            e.Size = this.Size;
            e.posHAlign = this.posHAlign;
            e.posVAlign = this.posVAlign;
            e.ClipRender = this.ClipRender;
            //scene
            e._pos = this._pos;
            e._scale = this._scale;
            e.needUpdate = true;

            return e;
        }