Ejemplo n.º 1
0
        /// <summary>
        /// Sets the plot style (or sub plot styles) in this item according to a template provided by the plot item in the template argument.
        /// </summary>
        /// <param name="template">The template item to copy the plot styles from.</param>
        /// <param name="strictness">Denotes the strictness the styles are copied from the template. See <see cref="PlotGroupStrictness" /> for more information.</param>
        public override void SetPlotStyleFromTemplate(IGPlotItem template, PlotGroupStrictness strictness)
        {
            if (!(template is DensityImagePlotItem))
            {
                return;
            }
            var from = (DensityImagePlotItem)template;

            _plotStyle.CopyFrom(from._plotStyle);
        }