Artemis.Profiles.Layers.Models.LayerPropertiesModel.LayerPropertiesModel C# (CSharp) Метод

LayerPropertiesModel() публичный Метод

public LayerPropertiesModel ( LayerPropertiesModel source = null ) : System.Collections.Generic
source LayerPropertiesModel
Результат System.Collections.Generic
        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;
        }