create

Creates a color ramp with predefined color ramp type and size.

Return

A null or a new color ramp object.

Since

200.1.0

Parameters

type

The predefined color ramp type.

size

Size of the color ramp. A typical value is 256.