Gembox.Imaging
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    FilterBuilder Class

    Namespace:
    GemBox.Imaging
    Assembly:
    GemBox.Imaging.dll

    Represents a builder for configuring an image or image frame filter.

    • C#
    • VB.NET
    public sealed class FilterBuilder
    Public NotInheritable Class FilterBuilder
    Inheritance:
    System.Object
    FilterBuilder

    Methods

    Alpha(Int32)

    Sets the alpha channel.

    • C#
    • VB.NET
    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
    FilterBuilder

    Blue(Int32)

    Sets the intensity of the blue channel.

    • C#
    • VB.NET
    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
    FilterBuilder

    Brightness(Int32)

    Sets the brightness.

    • C#
    • VB.NET
    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
    FilterBuilder

    Contrast(Int32)

    Sets the contrast.

    • C#
    • VB.NET
    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
    FilterBuilder

    Green(Int32)

    Sets the intensity of the green channel.

    • C#
    • VB.NET
    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
    FilterBuilder

    Hue(Int32)

    Sets hue.

    • C#
    • VB.NET
    public FilterBuilder Hue(int value)
    Public Function Hue(value As Integer) As FilterBuilder
    Parameters
    value
    System.Int32

    A hue angle value between 0 and 360.

    Returns
    FilterBuilder

    Red(Int32)

    Sets the intensity of the red channel.

    • C#
    • VB.NET
    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
    FilterBuilder

    Saturation(Int32)

    Sets the saturation (chroma).

    • C#
    • VB.NET
    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).

    Returns
    FilterBuilder
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.