public function removeLabel(CINLabel $label) {
        $remove = -1;
        $c = count($this->labels);
        for ($i = 0; $i < $c; $i++) {
            if ($this->labels[$i] === $label) {
                $remove = $i;
                break;
            }
        }

        if ($remove > -1) {
            array_splice($this->labels, $remove, 1);
        }
    }
public function removeLabel(CINLabel $label) {
        $remove = -1;
        $c = count($this->labels);
        for ($i = 0; $i < $c; $i++) {
            if ($this->labels[$i] === $label) {
                $remove = $i;
                break;
            }
        }

        if ($remove > -1) {
            array_splice($this->labels, $remove, 1);
        }
    }
public function removeLabel ( CINLabel $ label ) { $ remove = - 1 ; $ c = count ( $ this -> labels ) ; for ( $ i = 0 ; $ i < $ c ; $ i ++ ) { if ( $ this -> labels [ $ i ] === $ label ) { $ remove = $ i ; break ; } } if ( $ remove > - 1 ) { array_splice ( $ this -> labels , $ remove , 1 ) ; } }
Removes the label from the drawing.

@param CINLabel $label
Removes the label from the drawing .