You are here

public function SassColour::op_not in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/script/literals/SassColour.php \SassColour::op_not()

Colour bitwise NOT

Return value

sassColour the colour result

Overrides SassLiteral::op_not

File

phpsass/script/literals/SassColour.php, line 549

Class

SassColour
SassColour class. A SassScript object representing a CSS colour.

Code

public function op_not() {
  $this->red = ~$this
    ->getRed();
  $this->green = ~$this
    ->getGreen();
  $this->blue = ~$this
    ->getBlue();
  return $this;
}