Home/ Reference/ Pattern / Texture Fill

shape.Fill.PostScript.Select("Bricks")

PostScript textures. The old CorelDRAW set — bricks, grids, waves — lives here, and you address them by English name.

Signature

shape.Fill.PostScript.Select("Bricks")

Notes

PostScript textures. The old CorelDRAW set — bricks, grids, waves — lives here, and you address them by English name.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
shape = app.ActiveSelectionRange(1)

# set the PostScript fill type first
shape.Fill.ApplyPostscriptFill()
if shape.Fill.Type == 3:                            # 3 = PostScript
    shape.Fill.PostScript.Select("Bricks")          # brick texture
    print("Bricks texture applied")
else:
    print("Fill type: ", shape.Fill.Type)

About this section: Pattern / Texture Fill

Pattern / Texture Fill — pattern, texture and PostScript fills.

Other entries in this section