Shared Function MakeBrightness(weight As Double) As XColorMatrix
Shared Function MakeBrightness(redWeight As Double, greenWeight As Double, blueWeight As Double) As XColorMatrix
Params
Name
Description
weight
The level of brightness to be applied.
redWeight
The level of brightness to be applied to the red channel.
greenWeight
The level of brightness to be applied to the green
channel.
blueWeight
The level of brightness to be applied to the blue channel.
Notes
Use this method when you want to create a color matrix that
adjusts the brightness of an image. Specifying a weight greater
than one increases the brightness level. Weights smaller than one
decrease the brightness.