chartjs-colorful

chartjs-colorful - v1.0.0 / helpers / ConvertColorBuilder

Class: ConvertColorBuilder

helpers.ConvertColorBuilder

Table of contents

Methods

Methods

alpha

alpha(v): ConvertColorBuilder

Parameters

Name Type
v number

Returns

ConvertColorBuilder


build

build(): ColorConverter

Returns

ColorConverter


clearer

clearer(ration): ConvertColorBuilder

Parameters

Name Type
ration number

Returns

ConvertColorBuilder


darken

darken(ratio): ConvertColorBuilder

Parameters

Name Type
ratio number

Returns

ConvertColorBuilder


desaturate

desaturate(ratio): ConvertColorBuilder

Parameters

Name Type
ratio number

Returns

ConvertColorBuilder


greyscale

greyscale(): ConvertColorBuilder

Returns

ConvertColorBuilder


lighten

lighten(ratio): ConvertColorBuilder

Parameters

Name Type
ratio number

Returns

ConvertColorBuilder


mix

mix(color, weight): ConvertColorBuilder

Parameters

Name Type
color string
weight number

Returns

ConvertColorBuilder


negate

negate(): ConvertColorBuilder

Returns

ConvertColorBuilder


opaquer

opaquer(ratio): ConvertColorBuilder

Parameters

Name Type
ratio number

Returns

ConvertColorBuilder


rotate

rotate(deg): ConvertColorBuilder

Parameters

Name Type
deg number

Returns

ConvertColorBuilder


saturate

saturate(ratio): ConvertColorBuilder

Parameters

Name Type
ratio number

Returns

ConvertColorBuilder