is_transparent: Is the colour transparent?

Description Usage Arguments Value

View source: R/utils-colour.R

Description

Is the colour transparent?

Usage

1
is_transparent(rgba_vec)

Arguments

rgba_vec

4 element rgba with integer values [0, 255]

Value

TRUE if alpha == 0


coolbutuseless/devoutsvg documentation built on April 24, 2020, 10:32 a.m.