You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Color Object Creation & Color Space Conversion > ARGB > ARGB Method (Byte, Byte, Byte, Byte)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.ARGB Method (Byte, Byte, Byte, Byte)

Returns a Color Object from a set of alpha, red, green, and blue color components.

C#
public Color ARGB(
    Byte Alpha, 
    Byte Red, 
    Byte Green, 
    Byte Blue
);
Visual Basic
Public Function ARGB(
    ByVal Alpha As Byte, 
    ByVal Red As Byte, 
    ByVal Green As Byte, 
    ByVal Blue As Byte
) As Color
Parameters
Parameters 
Description 
Alpha 
The alpha component (also called transparency). Valid values are 0 (full transparency) through 255 (full opacity).  
Red 
The red component. Valid values are 0 through 255.  
Green 
The green component. Valid values are 0 through 255.  
Blue 
The blue component. Valid values are 0 through 255.  
Returns

A Color Object.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.