Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / PaletteEntry Structure / PaletteEntry Constructor / PaletteEntry Constructor(Int32,Int32,Int32,Int32)
The Red channel value (0..65535), premultiplied by the associated alpha component.
The Green channel value (0..65535), premultiplied by the associated alpha component.
The Blue channel value (0..65535), premultiplied by the associated alpha component.
The Alpha channel value (0..65535).

In This Topic
    PaletteEntry Constructor(Int32,Int32,Int32,Int32)
    In This Topic
    Creates a PaletteEntry with given (premultiplied by alpha) values for the color channels.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal r As System.Integer, _
       ByVal g As System.Integer, _
       ByVal b As System.Integer, _
       ByVal a As System.Integer _
    )
    public PaletteEntry( 
       System.int r,
       System.int g,
       System.int b,
       System.int a
    )

    Parameters

    r
    The Red channel value (0..65535), premultiplied by the associated alpha component.
    g
    The Green channel value (0..65535), premultiplied by the associated alpha component.
    b
    The Blue channel value (0..65535), premultiplied by the associated alpha component.
    a
    The Alpha channel value (0..65535).
    See Also