258 code results in tidyverse/ggplot2 or view all results on GitHub
| 6 | fill: none; |
| 7 | stroke: #000000; |
| 8 | stroke-linecap: round; |
| 9 | stroke-linejoin: round; |
| 10 | stroke-miterlimit: 10.00; |
| … | |
| 30 | <polygon points='405.59,514.77 405.59,528.06 396.03,534.84 386.47,528.06 386.47,514.77 396.03,508.25 ' style='stroke-width: 1.07; stroke: none; stroke-linecap: butt; stroke-linejoin: miter; fill: #2F638E;' /> |
| 31 | <polygon points='558.53,476.83 558.53,489.18 548.97,495.46 539.41,489.18 539.41,476.83 548.97,470.76 ' style='stroke-width: 1.07; stroke: none; stroke-linecap: butt; stroke-linejoin: miter; fill: #2F638E;' /> |
SVG
Showing the top two matches
Last indexed | 6 | fill: none; |
| 7 | stroke: #000000; |
| 8 | stroke-linecap: round; |
| 9 | stroke-linejoin: round; |
| 10 | stroke-miterlimit: 10.00; |
| … | |
| 39 | <polygon points='347.05,288.60 349.42,285.35 350.25,283.49 349.05,285.14 347.42,288.81 346.22,290.46 ' style='stroke-width: 1.07; stroke: none; stroke-linecap: butt; stroke-linejoin: miter; fill: #2F638E;' /> |
| 40 | <polygon points='337.76,277.55 340.75,280.24 341.72,282.24 339.52,281.94 336.03,279.93 335.21,277.51 ' style='stroke-width: 1.07; stroke: none; stroke-linecap: butt; stroke-linejoin: miter; fill: #2F638E;' /> |
SVG
Showing the top two matches
Last indexed | 6 | fill: none; |
| 7 | stroke: #000000; |
| 8 | stroke-linecap: round; |
| 9 | stroke-linejoin: round; |
| 10 | stroke-miterlimit: 10.00; |
| … | |
| 32 | <polygon points='406.91,526.46 173.67,526.46 173.67,414.53 406.91,414.53 406.91,526.46 ' style='stroke-width: 1.07; stroke: #F8766D; stroke-linecap: butt; stroke-linejoin: miter; fill: #FFFFFF;' /> |
SVG
Showing the top two matches
Last indexed | 17 | #' @param lineend Line end style (round, butt, square). |
| 18 | #' @param linejoin Line join style (round, mitre, bevel). |
| … | |
| 48 | #' # Use lineend and linejoin to change the style of the segments |
| 49 | #' df2 <- expand.grid( |
| 50 | #' lineend = c('round', 'butt', 'square'), |
R
Showing the top two matches
Last indexed | 6 | fill: none; |
| 7 | stroke: #000000; |
| 8 | stroke-linecap: round; |
| 9 | stroke-linejoin: round; |
| 10 | stroke-miterlimit: 10.00; |
| … | |
| 33 | <polygon points='78.83,213.92 78.83,291.61 224.15,291.61 224.15,213.92 78.83,213.92 ' style='stroke-width: 1.07; stroke: #F8766D; stroke-linecap: butt; stroke-linejoin: miter; fill: #FFFFFF;' /> |
SVG
Showing the top two matches
Last indexed | 6 | fill: none; |
| 7 | stroke: #000000; |
| 8 | stroke-linecap: round; |
| 9 | stroke-linejoin: round; |
| 10 | stroke-miterlimit: 10.00; |
| … | |
| 30 | <rect x='139.63' y='298.19' width='79.78' height='56.98' style='stroke-width: 1.07; stroke: none; stroke-linecap: butt; stroke-linejoin: miter; fill: #F8766D;' /> |
SVG
Showing the top two matches
Last indexed | 23 | -2, 2, -2, 2 |
| 24 | )) |
| 25 | expect_equal(out[c("xmin", "xmax", "ymin", "ymax")], boundary) |
| 26 | }) |
| 27 | |
| 28 | test_that("accepts linejoin parameter", { |
| … | |
| 31 | gp1 <- layer_grob(ggplot(df, aes(x, y)) + geom_tile())[[1]]$gp |
| 32 | expect_equal(gp1$linejoin, "mitre") |
| 33 | |
| 34 | gp2 <- layer_grob(ggplot(df, aes(x, y)) + geom_tile(linejoin = "round"))[[1]]$gp |
R
Showing the top two matches
Last indexed | 82 | lwd = lwd * .pt, |
| 83 | linejoin = params$linejoin %||% "mitre", |
| 84 | lineend = params$lineend %||% "butt" |
| … | |
| 105 | lwd = (data$linewidth %||% 0.5) * .pt, |
| 106 | lty = data$linetype %||% 1, |
| 107 | lineend = params$lineend %||% "butt", |
| 108 | linejoin = params$linejoin %||% "mitre" |
R
Showing the top three matches
Last indexed | 50 | draw_panel = function(data, panel_params, coord, lineend = "butt", |
| 51 | linejoin = "mitre", fatten = 2.5, width = NULL, |
| … | |
| 106 | ggname("geom_crossbar", gTree(children = gList( |
| 107 | GeomPolygon$draw_panel(box, panel_params, coord, lineend = lineend, linejoin = linejoin), |
R
Showing the top three matches
Last indexed