Hadron electromagnetic properties and quark mass parameters