copyWithNormalized abstract method
override
Returns a copy of the pixel
with normalized values.
Subclasses override this method to provide named parameters for channels.
Example
print(abgr8888.copyWithNormalized(0x12345678, red: 1.0)); // 0xFF345678
print(floatRgba.copyWithNormalized(Float32x4(0.1, 0.2, 0.3, 0.4), red: 0.5)); // [0.5, 0.2, 0.3, 0.4]
Implementation
@override
P copyWithNormalized(
P pixel, {
double? red,
double? green,
double? blue,
});