Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Look<T, U>

Type parameters

  • T

  • U = never

Hierarchy

Implements

Index

Constructors

constructor

  • new Look<T, U>(name: string): Look<T, U>
  • Type parameters

    • T

    • U = never

    Parameters

    • name: string

    Returns Look<T, U>

Properties

Readonly name

name: string

Static accentColor

accentColor: Look<Color, AnyColor>

Static backgroundColor

backgroundColor: Look<Color, AnyColor>

Static borderColor

borderColor: Look<Color, AnyColor>

Static color

Static faintColor

faintColor: Look<Color, AnyColor>

Static font

font: Look<Font, AnyFont>

Static highlightColor

highlightColor: Look<Color, AnyColor>

Static iconColor

iconColor: Look<Color, AnyColor>

Static mutedColor

mutedColor: Look<Color, AnyColor>

Static neutralColor

neutralColor: Look<Color, AnyColor>

Static opacity

opacity: Look<number, never>

Static shadow

Static spacing

spacing: Look<Length, AnyLength>

Static statusColor

statusColor: Look<Color, AnyColor>

Static subduedColor

subduedColor: Look<Color, AnyColor>

Static timing

Methods

add

Abstract between

  • Parameters

    • a: T
    • b: T

    Returns Interpolator<T>

Abstract coerce

  • coerce(value: T | U): T
  • Parameters

    • value: T | U

    Returns T

Abstract combine

  • combine(combination: undefined | T, value: T, weight?: number): T
  • Parameters

    • combination: undefined | T
    • value: T
    • Optional weight: number

    Returns T

dot

  • Parameters

    Returns undefined | T

dotOr

  • Type parameters

    • E

    Parameters

    Returns T | E

empty

  • Returns LookVector<T>

fromArray

  • Parameters

    • array: readonly [Feel, T][]
    • Optional index: {}
      • [name: string]: number | undefined

    Returns LookVector<T>

multiply

  • Parameters

    Returns LookVector<T>

negate

  • Parameters

    Returns LookVector<T>

of

  • Parameters

    • Rest ...feels: [Feel, T | U][]

    Returns LookVector<T>

subtract

toString

  • toString(): string
  • Returns string

Generated using TypeDoc