FilterBuilder Class
Represents a builder for configuring an image or image frame filter.
- Inheritance:
- System.ObjectFilterBuilder
Methods
Alpha(Int32)
Sets the alpha channel.
public FilterBuilder Alpha(int value)
Public Function Alpha(value As Integer) As FilterBuilder
Parameters
value
- System.Int32
A transparency value in a range from 0 (no transparency) to 100 (full transparency).
Returns
Blue(Int32)
Sets the intensity of the blue channel.
public FilterBuilder Blue(int intensity)
Public Function Blue(intensity As Integer) As FilterBuilder
Parameters
intensity
- System.Int32
An intensity value in a range from -100 (no blue channel) to 100 (double blue channel intensity).
Returns
Brightness(Int32)
Sets the brightness.
public FilterBuilder Brightness(int value)
Public Function Brightness(value As Integer) As FilterBuilder
Parameters
value
- System.Int32
A brightness value in a range from -100 (full black) to 100 (full white).
Returns
Contrast(Int32)
Sets the contrast.
public FilterBuilder Contrast(int value)
Public Function Contrast(value As Integer) As FilterBuilder
Parameters
value
- System.Int32
A contrast value in a range from -100 (full black) to 100 (full white).
Returns
Green(Int32)
Sets the intensity of the green channel.
public FilterBuilder Green(int intensity)
Public Function Green(intensity As Integer) As FilterBuilder
Parameters
intensity
- System.Int32
An intensity value in a range from -100 (no green channel) to 100 (double green channel intensity).
Returns
Hue(Int32)
Sets hue.
Parameters
value
- System.Int32
A hue angle value between 0 and 360.
Returns
Red(Int32)
Sets the intensity of the red channel.
public FilterBuilder Red(int intensity)
Public Function Red(intensity As Integer) As FilterBuilder
Parameters
intensity
- System.Int32
An intensity value in a range from -100 (no red channel) to 100 (double red channel intensity).
Returns
Saturation(Int32)
Sets the saturation (chroma).
public FilterBuilder Saturation(int amount)
Public Function Saturation(amount As Integer) As FilterBuilder
Parameters
amount
- System.Int32
A saturation value in a range from -100 (grayscale) to 100 (fully saturated).