public override void ApplyProperties() { HeightProperties.Apply(LayerModel); WidthProperties.Apply(LayerModel); OpacityProperties.Apply(LayerModel); LayerModel.Properties.Brush = Brush; LayerModel.LayerAnimation = SelectedLayerAnimation; }
public override LayerPropertiesModel GetAppliedProperties() { HeightProperties.Apply(ProposedProperties); WidthProperties.Apply(ProposedProperties); OpacityProperties.Apply(ProposedProperties); var properties = GeneralHelpers.Clone(ProposedProperties); properties.Brush = Brush; return(properties); }