Ejemplo n.º 1
0
 public static IDiagram LineSegments(decimal strokeWidth, StrokeStyle strokeStyle, IEnumerable <Coordinate> coordinates) =>
 new PathDiagram(PathInstructions.Segments(coordinates), strokeWidth, strokeStyle);
Ejemplo n.º 2
0
 public PathDiagram(PathInstructions instructions, decimal strokeWidth, StrokeStyle strokeStyle)
 {
     Instructions = instructions;
     StrokeWidth  = strokeWidth;
     StrokeStyle  = strokeStyle;
 }