Home/ Reference/ Fountain Fill

ff.Steps

Number of steps. 0 means a smooth blend; 5-10 gives banded color rings, which is what you want for retro print or screenprint looks.

Signature

ff.Steps

Notes

Number of steps. 0 means a smooth blend; 5-10 gives banded color rings, which is what you want for retro print or screenprint looks.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
shape = app.ActiveSelectionRange(1)
ff = shape.Fill.ApplyFountainFill(
    app.CreateRGBColor(0, 133, 205),
    app.CreateRGBColor(255, 255, 255), 1, 90)

ff.Steps = 8                                        # 8 steps gives visible banding
print("Steps: ", ff.Steps)

ff.Steps = 0                                        # back to smooth
print("Steps: ", ff.Steps)

About this section: Fountain Fill

Fountain Fill — linear and radial gradient fills.

Other entries in this section