Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BoxShadow

Implements

Index

Constructors

constructor

  • Parameters

    Returns BoxShadow

Properties

Readonly blurRadius

blurRadius: Length

Readonly color

color: Color

Readonly inset

inset: boolean

Readonly next

next: null | BoxShadow

Readonly offsetX

offsetX: Length

Readonly offsetY

offsetY: Length

Readonly spreadRadius

spreadRadius: Length

Readonly stringValue

stringValue: undefined | string

Methods

and

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equivalentTo

  • equivalentTo(that: unknown, epsilon?: number): boolean
  • Parameters

    • that: unknown
    • Optional epsilon: number

    Returns boolean

interpolateTo

  • Parameters

    Returns Interpolator<BoxShadow>

  • Parameters

    • that: unknown

    Returns null | Interpolator<BoxShadow>

toString

  • toString(): string
  • Returns string

withBlurRadius

  • Parameters

    Returns BoxShadow

withColor

  • Parameters

    Returns BoxShadow

withInset

  • Parameters

    • inset: boolean

    Returns BoxShadow

withOffsetX

  • Parameters

    Returns BoxShadow

withOffsetY

  • Parameters

    Returns BoxShadow

withSpreadRadius

  • Parameters

    Returns BoxShadow

Static create

Static form

  • Returns Form<null | BoxShadow, AnyBoxShadow>

Static fromAny

  • Parameters

    Returns null | BoxShadow

Static fromArray

  • Parameters

    Returns BoxShadow

Static fromInit

  • Parameters

    Returns BoxShadow

Static fromValue

  • Parameters

    Returns null | BoxShadow

Static isAny

  • Parameters

    • value: unknown

    Returns value is AnyBoxShadow

Static isArray

  • isArray(value: unknown): value is readonly BoxShadow[]
  • Parameters

    • value: unknown

    Returns value is readonly BoxShadow[]

Static isInit

  • Parameters

    • value: unknown

    Returns value is BoxShadowInit

Static parse

  • Parameters

    • string: string

    Returns null | BoxShadow

Generated using TypeDoc