Vec4b constructor

Vec4b(
  1. int v1,
  2. int v2,
  3. int v3,
  4. int v4,
)

Implementation

factory Vec4b(int v1, int v2, int v3, int v4) {
  final p = calloc<cvg.Vec4b>()
    ..ref.val1 = v1
    ..ref.val2 = v2
    ..ref.val3 = v3
    ..ref.val4 = v4;
  return Vec4b._(p);
}