• Retrieves the green component of a given Point.

    Parameters

    • pt: Point

    Returns number

    Green component of the Point

    Example

    const point = make_color_point(1, 2, 3, 50, 100, 150);
    g_of(point); // Returns 100