Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Background

Hierarchy

  • Background

Index

Properties

borderBottomColor

borderBottomColor: Color

borderBottomLeftRadius

borderBottomLeftRadius: number

borderBottomRightRadius

borderBottomRightRadius: number

borderBottomWidth

borderBottomWidth: number

borderLeftColor

borderLeftColor: Color

borderLeftWidth

borderLeftWidth: number

borderRightColor

borderRightColor: Color

borderRightWidth

borderRightWidth: number

borderTopColor

borderTopColor: Color

borderTopLeftRadius

borderTopLeftRadius: number

borderTopRightRadius

borderTopRightRadius: number

borderTopWidth

borderTopWidth: number

clipPath

clipPath: string

color

color: Color

image

image: string | LinearGradient

position

position: string

repeat

size

size: string

Static default

default: Background

Methods

getUniformBorderColor

  • getUniformBorderColor(): Color
  • Returns Color

getUniformBorderRadius

  • getUniformBorderRadius(): number
  • Returns number

getUniformBorderWidth

  • getUniformBorderWidth(): number
  • Returns number

hasBorderColor

  • hasBorderColor(): boolean
  • Returns boolean

hasBorderRadius

  • hasBorderRadius(): boolean
  • Returns boolean

hasBorderWidth

  • hasBorderWidth(): boolean
  • Returns boolean

hasUniformBorder

  • hasUniformBorder(): boolean
  • Returns boolean

hasUniformBorderColor

  • hasUniformBorderColor(): boolean
  • Returns boolean

hasUniformBorderRadius

  • hasUniformBorderRadius(): boolean
  • Returns boolean

hasUniformBorderWidth

  • hasUniformBorderWidth(): boolean
  • Returns boolean

isEmpty

  • isEmpty(): boolean
  • Returns boolean

withBorderBottomColor

  • Parameters

    Returns Background

withBorderBottomLeftRadius

  • withBorderBottomLeftRadius(value: number): Background
  • Parameters

    • value: number

    Returns Background

withBorderBottomRightRadius

  • withBorderBottomRightRadius(value: number): Background
  • Parameters

    • value: number

    Returns Background

withBorderBottomWidth

  • withBorderBottomWidth(value: number): Background
  • Parameters

    • value: number

    Returns Background

withBorderLeftColor

  • Parameters

    Returns Background

withBorderLeftWidth

  • Parameters

    • value: number

    Returns Background

withBorderRightColor

  • Parameters

    Returns Background

withBorderRightWidth

  • Parameters

    • value: number

    Returns Background

withBorderTopColor

  • Parameters

    Returns Background

withBorderTopLeftRadius

  • withBorderTopLeftRadius(value: number): Background
  • Parameters

    • value: number

    Returns Background

withBorderTopRightRadius

  • withBorderTopRightRadius(value: number): Background
  • Parameters

    • value: number

    Returns Background

withBorderTopWidth

  • Parameters

    • value: number

    Returns Background

withClipPath

  • Parameters

    • value: string

    Returns Background

withColor

  • Parameters

    Returns Background

withImage

withPosition

  • Parameters

    • value: string

    Returns Background

withRepeat

withSize

  • Parameters

    • value: string

    Returns Background

Static equals

  • Parameters

    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