Esempio n. 1
0
        public LayerModel()
        {
            Children   = new ChildItemCollection <LayerModel, LayerModel>(this);
            TweenModel = new TweenModel(this);

            var model = Properties as KeyboardPropertiesModel;

            if (model != null)
            {
                GifImage = new GifImage(model.GifFile);
            }
        }
Esempio n. 2
0
        public LayerModel()
        {
            Children      = new ChildItemCollection <LayerModel, LayerModel>(this);
            TweenModel    = new TweenModel(this);
            RenderAllowed = true;

            var model = Properties as KeyboardPropertiesModel;

            if (model != null)
            {
                GifImage = new GifImage(model.GifFile, Properties.AnimationSpeed);
            }
        }