rgba_to_alpha: Calcuate the alpha value from the 4-element RGBA vector

Description Usage Arguments Value

View source: R/utils-colour.R

Description

Calcuate the alpha value from the 4-element RGBA vector

Usage

1
rgba_to_alpha(rgba_vec)

Arguments

rgba_vec

4 element rgba with integer values [0, 255]

Value

alpha in range [0,1]


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