Move an object
Arguments
- object
object
- x
nudge right and left
- y
nudge up and down
- ...
<
dynamic-dots
> properties passed to style
Examples
ob_circle() |> nudge(x = 2)
#> <ob_circle>
#> @ center: <ob_point>
#> @ x: num 2
#> @ y: num 0
#> @ radius: num 1
#> Other props: label, alpha, color, fill, linewidth, linetype, n,
#> area, bounding_box, circumference, diameter, length,
#> polygon, style, tibble, geom, angle_at, normal_at,
#> tangent_at, place, point_at, aesthetics
# Alternative to nudge:
ob_circle() + ob_point(2, 0)
#> <ob_circle>
#> @ center: <ob_point>
#> @ x: num 2
#> @ y: num 0
#> @ radius: num 1
#> Other props: label, alpha, color, fill, linewidth, linetype, n,
#> area, bounding_box, circumference, diameter, length,
#> polygon, style, tibble, geom, angle_at, normal_at,
#> tangent_at, place, point_at, aesthetics