paint_arc: Draw an arc to an image

View source: R/pictplot.R

paint_arcR Documentation

Draw an arc to an image

Description

Draw an arc to an image

Usage

paint_arc(im, cy, cx, r, w, t1, t2, color)

Arguments

im

an image

cy

arc center x

cx

arc center y

r

arc radius

w

arc width

t1

angle (start) in radius

t2

angle (end) in radius

color

circle color

Value

an image

Examples

im = paint_arc(regatta, 200, 300, 100, 10, 0, pi, c(1, 0.2, 0.2))
plot(im)

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.