delay = $value; return $this; } /** * Return delay time (1/100 second) * * @return int */ public function getDelay(): int { return $this->delay; } /** * Set disposal method * * @param DisposalMethod $method * @return self */ public function setDisposalMethod(DisposalMethod $method): self { $this->disposalMethod = $method; return $this; } /** * Get disposal method * * @return DisposalMethod */ public function getDisposalMethod(): DisposalMethod { return $this->disposalMethod; } /** * Get transparent color index * * @return int */ public function getTransparentColorIndex(): int { return $this->transparentColorIndex; } /** * Set transparent color index * * @param int $index */ public function setTransparentColorIndex(int $index): self { $this->transparentColorIndex = $index; return $this; } /** * Get current transparent color existance * * @return bool */ public function getTransparentColorExistance(): bool { return $this->transparentColorExistance; } /** * Set existance flag of transparent color * * @param bool $existance */ public function setTransparentColorExistance(bool $existance = true): self { $this->transparentColorExistance = $existance; return $this; } /** * Get user input flag * * @return bool */ public function getUserInput(): bool { return $this->userInput; } /** * Set user input flag * * @param bool $value */ public function setUserInput(bool $value = true): self { $this->userInput = $value; return $this; } }