GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoColor Structure / SetRgb Method
The "Red" component of the color according to the RGB color model.
The "Green" component of the color according to the RGB color model.
The "Blue" component of the color according to the RGB color model.
In This Topic
    SetRgb Method
    In This Topic
    Sets the color of the Northwoods.Go.Draw.GoColor from the three RGB component values.
    Syntax
    public void SetRgb( 
       float red,
       float green,
       float blue
    )

    Parameters

    red
    The "Red" component of the color according to the RGB color model.
    green
    The "Green" component of the color according to the RGB color model.
    blue
    The "Blue" component of the color according to the RGB color model.
    Remarks
    Each of the parameter values range from 0.0f to 1.0f, inclusive. Alpha is unmodified. This is more efficient than setting each of the properties sequentially.
    See Also