void (final @NotNull Graphics2D g, @NotNull Line2D line, @NotNull StrokeType strokeType, double strokeWidth, @NotNull Object valueAA) { paint(g, line.getX1(), line.getY1(), line.getX2(), line.getY2(), strokeType, strokeWidth, valueAA); }