ColorRampElement(bpy_struct)

base class — bpy_struct

class bpy.types.ColorRampElement(bpy_struct)

Element defining a color at a position in the color ramp

color

Set color of selected color stop

Type:float array of 4 items in [0, inf], default (0.0, 0.0, 0.0, 0.0)
position

Set position of selected color stop

Type:float in [0, 1], default 0.0

Inherited Properties

Inherited Functions

References

Previous topic

ColorRamp(bpy_struct)

Next topic

ColorRampElements(bpy_struct)