Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ColorConverter

Hierarchy

Index

Properties

Static type

type: Type = Types.Color

Methods

canConvertFrom

  • canConvertFrom(srcType: Type): boolean

canStringify

  • canStringify(): boolean

convertFrom

  • convertFrom(obj: any, srcType: Type): Color

deserialize

  • deserialize(obj: string): Color

fromString

  • fromString(str: string): Color | never

inferInstanceOf

  • inferInstanceOf(obj: any): 1 | -1

isValid

  • isValid(obj: object): boolean

serialize

  • serialize(obj: Color): any

toString

  • toString(obj: Color): string

tryFromString

  • tryFromString(obj: string): any

Generated using TypeDoc