Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal alpha As Integer, _ ByVal red As Integer, _ ByVal green As Integer, _ ByVal blue As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- alpha
- The alpha component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
- red
- The red component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
- green
- The green component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
- blue
- The blue component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
For an example, refer to RasterColor
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family