added brush parameters to brush engine