public LayerPropertiesModel(LayerPropertiesModel source = null)
{
if (source == null)
return;
// Clone the source's properties onto the new properties model (useful when changing property type)
X = source.X;
Y = source.Y;
Width = source.Width;
Height = source.Height;
Contain = source.Contain;
Opacity = source.Opacity;
AnimationSpeed = source.AnimationSpeed;
Conditions = source.Conditions;
DynamicProperties = source.DynamicProperties;
Brush = source.Brush;
}