luminanceThreshold method

void luminanceThreshold({
  1. num threshold = 0.5,
  2. bool outputColor = false,
  3. num amount = 1,
  4. Command? mask,
  5. Channel maskChannel = Channel.luminance,
})

Implementation

void luminanceThreshold(
    {num threshold = 0.5,
    bool outputColor = false,
    num amount = 1,
    Command? mask,
    Channel maskChannel = Channel.luminance}) {
  subCommand = LuminanceThresholdCmd(subCommand,
      threshold: threshold,
      outputColor: outputColor,
      amount: amount,
      mask: mask,
      maskChannel: maskChannel);
}