delay = $value; return $this; } /** * Return delay time (1/100 second). */ public function delay(): int { return $this->delay; } /** * Set disposal method. */ public function setDisposalMethod(DisposalMethod $method): self { $this->disposalMethod = $method; return $this; } /** * Get disposal method. */ public function disposalMethod(): DisposalMethod { return $this->disposalMethod; } /** * Get transparent color index. */ public function transparentColorIndex(): 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 transparentColorExistance(): 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 userInput(): bool { return $this->userInput; } /** * Set user input flag. */ public function setUserInput(bool $value = true): self { $this->userInput = $value; return $this; } }