public ILMarkerWrapper(ILMarker source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, "Marker"), label) { this.source = source; fill = new ILTrianglesWrapper(source.Fill, editor, Path, ILMarker.DefaultFillTag, "Fill"); border = new ILLinesWrapper(source.Border, editor, Path, ILMarker.DefaultBorderTag, "Border"); }
public ILSurfaceWrapper(ILSurface source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, ILLinePlot.LinePlotTag), String.IsNullOrEmpty(label) ? GetSurfaceLabelFromLegend(source, editor.Panel) : label) { this.source = source; fill = new ILTrianglesWrapper(source.Fill, editor, Path, ILSurface.FillTag, "Fill"); wireframe = new ILLinesWrapper(source.Wireframe, editor, Path, ILSurface.WireframeTag, "Wireframe"); positions = new ReadOnlyCollection<float>(source.Positions.ToList()); }