public function setTop($top) {
    if (!$this->isSupportedUnit($top)) {
      $this->triggerError("Value \"${top}\" does not use a supported unit.");
    }
    else {
      $this->top = $top;
    }
    return $this;
  }
public function setTop($top) {
    if (!$this->isSupportedUnit($top)) {
      $this->triggerError("Value \"${top}\" does not use a supported unit.");
    }
    else {
      $this->top = $top;
    }
    return $this;
  }
public function setTop ( $ top ) { if ( ! $ this -> isSupportedUnit ( $ top ) ) { $ this -> triggerError ( "Value \"${top}\" does not use a supported unit." ) ; } else { $ this -> top = $ top ; } return $ this ; }
Setter for top.

@param string $top
Top.

@return $this
Setter for top .