encode method

int encode ()

Returns an encoded int representation of this object.

Implementation

int encode() {
  return (applyHeightToFirstAscent ? 0 : 1 << 0) | (applyHeightToLastDescent ? 0 : 1 << 1);
}