Color
Overview
Location
- Reference: Sugar
- Namespace: Sugar
Class Methods
colorWithRGBA256
class method colorWithRGBA256(aRed: Byte; aGreen: Byte; aBlue: Byte; aAlpha: Byte): Color
static Color colorWithRGBA256(Byte aRed, Byte aGreen, Byte aBlue, Byte aAlpha)
static func colorWithRGBA256(_ aRed: Byte, _ aGreen: Byte, _ aBlue: Byte, _ aAlpha: Byte) -> Color
static Color colorWithRGBA256(Byte aRed, Byte aGreen, Byte aBlue, Byte aAlpha)
Shared Function colorWithRGBA256(aRed As Byte, aGreen As Byte, aBlue As Byte, aAlpha As Byte) As Color
Parameters:
- aRed:
- aGreen:
- aBlue:
- aAlpha:
colorWithRGBAPercentage
class method colorWithRGBAPercentage(aRed: Single; aGreen: Single; aBlue: Single; aAlpha: Single): Color
static Color colorWithRGBAPercentage(Single aRed, Single aGreen, Single aBlue, Single aAlpha)
static func colorWithRGBAPercentage(_ aRed: Single, _ aGreen: Single, _ aBlue: Single, _ aAlpha: Single) -> Color
static Color colorWithRGBAPercentage(Single aRed, Single aGreen, Single aBlue, Single aAlpha)
Shared Function colorWithRGBAPercentage(aRed As Single, aGreen As Single, aBlue As Single, aAlpha As Single) As Color
Parameters:
- aRed:
- aGreen:
- aBlue:
- aAlpha: