Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Color

Hierarchy

  • Color

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Color(knownColor: string): Color
  • new Color(hex: string): Color
  • new Color(argb: number): Color
  • new Color(alpha: number, red: number, green: number, blue: number): Color
  • Parameters

    • knownColor: string

    Returns Color

  • Parameters

    • hex: string

    Returns Color

  • Parameters

    • argb: number

    Returns Color

  • Parameters

    • alpha: number
    • red: number
    • green: number
    • blue: number

    Returns Color

Properties

a

a: number

android

android: number

argb

argb: number

b

b: number

g

g: number

hex

hex: string

ios

ios: any

name

name: string

r

r: number

Methods

equals

  • equals(value: Color): boolean
  • Parameters

    Returns boolean

Static equals

  • Parameters

    Returns boolean

Static fromIosColor

  • fromIosColor(value: any): Color
  • Parameters

    • value: any

    Returns Color

Static isValid

  • isValid(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method