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)

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)

Parameters:

  • aRed:
  • aGreen:
  • aBlue:
  • aAlpha: