Creates topOffset and leftOffset attributes.