get_arc_mask: Create an arc mask image

View source: R/pictplot.R

get_arc_maskR Documentation

Create an arc mask image

Description

Create an arc mask image

Usage

get_arc_mask(height, width, cy, cx, r, t1, t2)

Arguments

height

image height

width

image width

cy

arc center y

cx

arc center x

r

arc radius

t1

angle (start) in radius

t2

angle (end) in radius

Value

an image

Examples

mask = get_arc_mask( 100, 120, 50, 50, 20, pi/6, pi )
plot(mask)

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