Same name and namespace in other branches
  1. 8.x-2.x src/ColorCMY.php \Drupal\color_field\ColorCMY::getCyan() 1 comment

Get the amount of Cyan.

Return value

int The amount of cyan.

1 call to ColorCMY::getCyan()
ColorCMY::toCmyk in src/ColorCMY.php

File

src/ColorCMY.php, line 58

Class

ColorCMY
ColorCMY represents the CMY color format.

Namespace

Drupal\color_field

Code

public function getCyan() : int {
    return $this->cyan;
}