adding a function to only initialize a Paint object with the path
effects defined in the attributes