Lines Matching refs:this
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 * Color instance rather than modifying this instance.
51 list($red, $green, $blue) = $this->Hex2RGB($red);
68 $this->r = $red;
69 $this->g = $green;
70 $this->b = $blue;
93 return sprintf('#%02x%02x%02x', $this->r, $this->g, $this->b);
134 $incremented = new Color($this->r, $this->g, $this->b);
136 $incremented->r = $this->truncateColorComponentRange($incremented->r + $increment);
137 $incremented->g = $this->truncateColorComponentRange($incremented->g + $increment);
138 $incremented->b = $this->truncateColorComponentRange($incremented->b + $increment);
149 return sprintf("Color<%d, %d, %d>", $this->r, $this->g, $this->b);
174 return $this->r;
183 return $this->g;
192 return $this->b;