Combine offsetX and offsetY with positioning