setStrokeColorRgb method
Sets the color used for stroking shapes.
r
, g
, b
are 0-255, a
is 0-1.
Implementation
void setStrokeColorRgb(int r, int g, int b, [num a = 1]) {
this.strokeStyle = 'rgba($r, $g, $b, $a)';
}
api.dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more.
Sets the color used for stroking shapes.
r
, g
, b
are 0-255, a
is 0-1.
void setStrokeColorRgb(int r, int g, int b, [num a = 1]) {
this.strokeStyle = 'rgba($r, $g, $b, $a)';
}