Scalar.fromRgb constructor

Scalar.fromRgb(
  1. int r,
  2. int g,
  3. int b
)

Implementation

factory Scalar.fromRgb(int r, int g, int b) => Scalar(b.toDouble(), g.toDouble(), r.toDouble(), 0);