Dompdf\Adapter\GD::_allocate_color
Allocate a new color. Allocate with GD as needed and store previously allocated colors in $this->_colors.
Signature
private function _allocate_color(array
$color )
Parameters
$color
— array- The new current color
Returns
- int
- The allocated color