예제 #1
0
        public override void ApplyProperties()
        {
            HeightProperties.Apply(LayerModel);
            WidthProperties.Apply(LayerModel);
            OpacityProperties.Apply(LayerModel);
            LayerModel.Properties.Brush = Brush;

            LayerModel.LayerAnimation = SelectedLayerAnimation;
        }
예제 #2
0
        public override LayerPropertiesModel GetAppliedProperties()
        {
            HeightProperties.Apply(ProposedProperties);
            WidthProperties.Apply(ProposedProperties);
            OpacityProperties.Apply(ProposedProperties);

            var properties = GeneralHelpers.Clone(ProposedProperties);

            properties.Brush = Brush;
            return(properties);
        }