Inspired by a set of nine-patches left over from another project.