πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement
Background

Summary ​

Constructors

constructor

Constructors ​

constructor ​

new Background(): Background 
Returns Background

Properties ​

borderBottomColor ​

borderBottomLeftRadius ​

borderBottomLeftRadius: number

borderBottomRightRadius ​

borderBottomRightRadius: number

borderBottomWidth ​

borderBottomWidth: number

borderLeftColor ​

borderLeftWidth ​

borderRightColor ​

borderRightWidth ​

borderTopLeftRadius ​

borderTopLeftRadius: number

borderTopRightRadius ​

borderTopRightRadius: number

borderTopWidth ​

boxShadow ​

clearFlags ​

image ​

image: string | LinearGradient

Methods ​

getBoxShadow ​

getBoxShadow(): CSSShadow

getUniformBorderColor ​

getUniformBorderColor(): Color 

getUniformBorderRadius ​

getUniformBorderRadius(): number

getUniformBorderWidth ​

getUniformBorderWidth(): number

hasBorderColor ​

hasBorderColor(): boolean

hasBorderRadius ​

hasBorderRadius(): boolean

hasBorderWidth ​

hasBorderWidth(): boolean

hasBoxShadow ​

hasBoxShadow(): boolean

hasUniformBorder ​

hasUniformBorder(): boolean

hasUniformBorderColor ​

hasUniformBorderColor(): boolean

hasUniformBorderRadius ​

hasUniformBorderRadius(): boolean

hasUniformBorderWidth ​

hasUniformBorderWidth(): boolean

isEmpty ​

isEmpty(): boolean

toString ​

toString(): string

withBorderBottomColor ​

withBorderBottomColor(value: Color): Background 
Parameter Default Description
value
Returns Background

withBorderBottomLeftRadius ​

withBorderBottomLeftRadius(value: number): Background 
Parameter Default Description
value
number
Returns Background

withBorderBottomRightRadius ​

withBorderBottomRightRadius(value: number): Background 
Parameter Default Description
value
number
Returns Background

withBorderBottomWidth ​

withBorderBottomWidth(value: number): Background 
Parameter Default Description
value
number
Returns Background

withBorderLeftColor ​

withBorderLeftColor(value: Color): Background 
Parameter Default Description
value
Returns Background

withBorderLeftWidth ​

withBorderLeftWidth(value: number): Background 
Parameter Default Description
value
number
Returns Background

withBorderRightColor ​

withBorderRightColor(value: Color): Background 
Parameter Default Description
value
Returns Background

withBorderRightWidth ​

withBorderRightWidth(value: number): Background 
Parameter Default Description
value
number
Returns Background

withBorderTopColor ​

withBorderTopColor(value: Color): Background 
Parameter Default Description
value
Returns Background

withBorderTopLeftRadius ​

withBorderTopLeftRadius(value: number): Background 
Parameter Default Description
value
number
Returns Background

withBorderTopRightRadius ​

withBorderTopRightRadius(value: number): Background 
Parameter Default Description
value
number
Returns Background

withBorderTopWidth ​

withBorderTopWidth(value: number): Background 
Parameter Default Description
value
number
Returns Background

withBoxShadow ​

withBoxShadow(value: CSSShadow): Background 
Parameter Default Description
value
CSSShadow
Returns Background

withClipPath ​

withClipPath(value: string): Background 
Parameter Default Description
value
string
Returns Background

withColor ​

withColor(value: Color): Background 
Parameter Default Description
value
Returns Background

withImage ​

withImage(value: string | LinearGradient): Background 
Parameter Default Description
value
string | LinearGradient
Returns Background

withPosition ​

withPosition(value: string): Background 
Parameter Default Description
value
string
Returns Background

withRepeat ​

withRepeat(value: BackgroundRepeatType): Background 
Parameter Default Description
Returns Background

withSize ​

withSize(value: string): Background 
Parameter Default Description
value
string
Returns Background

equals ​

Static
equals(value1: Background, value2: Background): boolean
Parameter Default Description
value1
value2
Returns boolean
On this page
  1. Summary
  2. Constructors
    1. constructor
  3. Properties
    1. borderBottomColor
    2. borderBottomLeftRadius
    3. borderBottomRightRadius
    4. borderBottomWidth
    5. borderLeftColor
    6. borderLeftWidth
    7. borderRightColor
    8. borderRightWidth
    9. borderTopColor
    10. borderTopLeftRadius
    11. borderTopRightRadius
    12. borderTopWidth
    13. boxShadow
    14. clearFlags
    15. clipPath
    16. color
    17. image
    18. position
    19. repeat
    20. size
    21. default
  4. Methods
    1. getBoxShadow
    2. getUniformBorderColor
    3. getUniformBorderRadius
    4. getUniformBorderWidth
    5. hasBorderColor
    6. hasBorderRadius
    7. hasBorderWidth
    8. hasBoxShadow
    9. hasUniformBorder
    10. hasUniformBorderColor
    11. hasUniformBorderRadius
    12. hasUniformBorderWidth
    13. isEmpty
    14. toString
    15. withBorderBottomColor
    16. withBorderBottomLeftRadius
    17. withBorderBottomRightRadius
    18. withBorderBottomWidth
    19. withBorderLeftColor
    20. withBorderLeftWidth
    21. withBorderRightColor
    22. withBorderRightWidth
    23. withBorderTopColor
    24. withBorderTopLeftRadius
    25. withBorderTopRightRadius
    26. withBorderTopWidth
    27. withBoxShadow
    28. withClipPath
    29. withColor
    30. withImage
    31. withPosition
    32. withRepeat
    33. withSize
    34. equals

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /