# Gmagick::setimageredprimary

(PECL gmagick >= Unknown)

Gmagick::setimageredprimary — Sets the image chromaticity red primary point

### 说明

public Gmagick::setimageredprimary(float `$x`, float `$y`): Gmagick

Sets the image chromaticity red primary point.

### 参数

`x`
  The red primary x-point.
`y`
  The red primary y-point.

### 返回值

The Gmagick object on success.

### 错误／异常

错误时抛出 GmagickException。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open