Function elmesque::color::greyscale
[−]
[src]
pub fn greyscale(p: f32) -> Color
Produce a gray based on the input. 0.0 is white, 1.0 is black.
pub fn greyscale(p: f32) -> Color
Produce a gray based on the input. 0.0 is white, 1.0 is black.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).