Generalize and extend graphics method attribute initialization