Struct

PhocColor

Description [src]

struct PhocColor {
  float red;
  float green;
  float blue;
  float alpha;
}

PhocColor is used to represent a (possibly translucent) color.

Structure members
red: float

The intensity of the red channel from 0.0 to 1.0 inclusive.

green: float

The intensity of the green channel from 0.0 to 1.0 inclusive.

blue: float

The intensity of the blue channel from 0.0 to 1.0 inclusive.

alpha: float

The opacity of the color from 0.0 for completely translucent to 1.0 for opaque.

Instance methods

phoc_color_copy
No description available.

phoc_color_free
No description available.

phoc_color_is_equal

Compare two colors for equality.