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