final FObj effectiveParent = fobj.effectiveParent(context);
if (direction == RelativeCompass.BEFORE) {
return effectiveParent.traitBorderBeforeWidth(context);
}
if (direction == RelativeCompass.AFTER) {
return effectiveParent.traitBorderAfterWidth(context);
}
if (direction == RelativeCompass.START) {
return effectiveParent.traitBorderStartWidth(context);
}
if (direction == RelativeCompass.END) {