public Segment(Position position, PrimitivesSurface surface) : this() { Position = position; Surface = surface; Identifier = Guid.NewGuid (); }
public Segment(Position position, List<Drawable> primitives, PrimitivesSurface surface) : this(position, surface) { _primitives.AddRange(primitives.Where(p => !(p is Connector))); Connectors.AddRange(primitives.Where(p => p is Connector).Cast<Connector>()); }
public Segment(Position position, List <Drawable> primitives, PrimitivesSurface surface) : this(position, surface) { _primitives.AddRange(primitives.Where(p => !(p is Connector))); Connectors.AddRange(primitives.Where(p => p is Connector).Cast <Connector>()); }
public Segment(Position position, PrimitivesSurface surface) : this() { Position = position; Surface = surface; Identifier = Guid.NewGuid(); }