Return to Fabric Examples A resist agent such as wax or a chemical paste is applied to the fabric in a pattern. When the fabric goes through the dye bath, the treated areas are un-dyed. the resist is removed through the use of heat or a chemical process.