public bool Equals(CIwColour other) { return r == other.r && g == other.g && b == other.b && a == other.a; }
public void WriteColour(string name, CIwColour val) { WriteArray(name, new byte[] { val.r, val.g, val.b, val.a }); }