gravity method

BasePad gravity(
  1. CompassGravity gravity
)

Sets the gravity Receives CompassGravity returns this object BasePad

Implementation

BasePad gravity(CompassGravity gravity) {
  _gravity = gravity;
  return this;
}