You are here

public function ColorCMYK::getMagenta in Color Field 8.2

Get the amount of Magenta.

Return value

int The amount of magenta.

File

src/ColorCMYK.php, line 76

Class

ColorCMYK
ColorCMYK represents the CMYK color format.

Namespace

Drupal\color_field

Code

public function getMagenta() {
  return $this->magenta;
}