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