getMarginAnotherHaveElevation static method
pages: the title "Feature" have list under it, the list have elevation. i want to set margin bottom to title "Feature"
Implementation
static double getMarginAnotherHaveElevation(double spacelevel , double elevationLevel) {
final result = spacelevel - elevationLevel - elevationLevel;
if( result < 0 ) {
return 0;
} else {
return result;
}
}