Add missing getBorderX methods (#9153)

Change-Id: Ica1130b042a0ddbcccfc4e63bdcf28a68327659e