Data / Color

Pixel

Get a pixel Color at a specific location from a Graphic. Unit coordinates range from zero to one; pixel coordinates use pixel-center indices.

iOSmacOSvisionOS

Inlets

Graphic

Graphic

Location

Point

The location in the Graphic at which to sample the color. Fractional locations are interpolated between the nearest pixels.

Outlets

Color

Color

Properties

Coordinate Space

Typed Enum

Choose whether the location is interpreted as normalized unit coordinates or pixel coordinates.

Default
Unit
Options
Unit, Pixel

Location

Point

The location in the Graphic at which to sample the color. Fractional locations are interpolated between the nearest pixels.

Default
[0.5, 0.5]
Editor minimum
[0, 0]
Editor maximum
[1, 1]
Inlet
Location

Version history

  1. Added in 2.1.0
  2. Updated in 27.0.0