GradientType module

class GradientType.GradientType(value)

Bases: Enum

Represents the types of gradients available in Excel.

This enumeration defines the various gradient types that can be applied to Excel cell backgrounds, shapes, and other elements that support gradient fills.

Liniar

A linear gradient that transitions colors in a straight line.

Circle

A circular gradient that transitions colors from the center outward in a circular pattern.

Rect

A rectangular gradient that transitions colors from the center outward in a rectangular pattern.

Shape

A gradient that follows the shape of the object to which it is applied.

Circle = 1
Liniar = 0
Rect = 2
Shape = 3