NativeScript
Open main menu
Docs
@nativescript/core
Open NativeScript GitHub
Close menu
Docs
@nativescript/core
Search Anything
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
@nativescript/core
Background
Class Background
Modules
Background
constructor
border
Bottom
Color
border
Bottom
Left
Radius
border
Bottom
Right
Radius
border
Bottom
Width
border
Left
Color
border
Left
Width
border
Right
Color
border
Right
Width
border
Top
Color
border
Top
Left
Radius
border
Top
Right
Radius
border
Top
Width
box
Shadow
clear
Flags
clip
Path
color
image
position
repeat
size
default
get
Box
Shadow
get
Uniform
Border
Color
get
Uniform
Border
Radius
get
Uniform
Border
Width
has
Border
Color
has
Border
Radius
has
Border
Width
has
Box
Shadow
has
Uniform
Border
has
Uniform
Border
Color
has
Uniform
Border
Radius
has
Uniform
Border
Width
is
Empty
with
Border
Bottom
Color
with
Border
Bottom
Left
Radius
with
Border
Bottom
Right
Radius
with
Border
Bottom
Width
with
Border
Left
Color
with
Border
Left
Width
with
Border
Right
Color
with
Border
Right
Width
with
Border
Top
Color
with
Border
Top
Left
Radius
with
Border
Top
Right
Radius
with
Border
Top
Width
with
Box
Shadow
with
Clip
Path
with
Color
with
Image
with
Position
with
Repeat
with
Size
equals
Hierarchy
Background
Index
Constructors
constructor
Properties
border
Bottom
Color
border
Bottom
Left
Radius
border
Bottom
Right
Radius
border
Bottom
Width
border
Left
Color
border
Left
Width
border
Right
Color
border
Right
Width
border
Top
Color
border
Top
Left
Radius
border
Top
Right
Radius
border
Top
Width
box
Shadow
clear
Flags
clip
Path
color
image
position
repeat
size
default
Methods
get
Box
Shadow
get
Uniform
Border
Color
get
Uniform
Border
Radius
get
Uniform
Border
Width
has
Border
Color
has
Border
Radius
has
Border
Width
has
Box
Shadow
has
Uniform
Border
has
Uniform
Border
Color
has
Uniform
Border
Radius
has
Uniform
Border
Width
is
Empty
with
Border
Bottom
Color
with
Border
Bottom
Left
Radius
with
Border
Bottom
Right
Radius
with
Border
Bottom
Width
with
Border
Left
Color
with
Border
Left
Width
with
Border
Right
Color
with
Border
Right
Width
with
Border
Top
Color
with
Border
Top
Left
Radius
with
Border
Top
Right
Radius
with
Border
Top
Width
with
Box
Shadow
with
Clip
Path
with
Color
with
Image
with
Position
with
Repeat
with
Size
equals
Constructors
constructor
new
Background
(
)
:
Background
Returns
Background
Properties
border
Bottom
Color
border
Bottom
Color
:
Color
border
Bottom
Left
Radius
border
Bottom
Left
Radius
:
number
border
Bottom
Right
Radius
border
Bottom
Right
Radius
:
number
border
Bottom
Width
border
Bottom
Width
:
number
border
Left
Color
border
Left
Color
:
Color
border
Left
Width
border
Left
Width
:
number
border
Right
Color
border
Right
Color
:
Color
border
Right
Width
border
Right
Width
:
number
border
Top
Color
border
Top
Color
:
Color
border
Top
Left
Radius
border
Top
Left
Radius
:
number
border
Top
Right
Radius
border
Top
Right
Radius
:
number
border
Top
Width
border
Top
Width
:
number
box
Shadow
box
Shadow
:
string
|
CSSShadow
clear
Flags
clear
Flags
:
number
clip
Path
clip
Path
:
string
color
color
:
Color
image
image
:
string
|
LinearGradient
position
position
:
string
repeat
repeat
:
BackgroundRepeatType
size
size
:
string
Static
default
default
:
Background
Methods
get
Box
Shadow
get
Box
Shadow
(
)
:
CSSShadow
Returns
CSSShadow
get
Uniform
Border
Color
get
Uniform
Border
Color
(
)
:
Color
Returns
Color
get
Uniform
Border
Radius
get
Uniform
Border
Radius
(
)
:
number
Returns
number
get
Uniform
Border
Width
get
Uniform
Border
Width
(
)
:
number
Returns
number
has
Border
Color
has
Border
Color
(
)
:
boolean
Returns
boolean
has
Border
Radius
has
Border
Radius
(
)
:
boolean
Returns
boolean
has
Border
Width
has
Border
Width
(
)
:
boolean
Returns
boolean
has
Box
Shadow
has
Box
Shadow
(
)
:
boolean
Returns
boolean
has
Uniform
Border
has
Uniform
Border
(
)
:
boolean
Returns
boolean
has
Uniform
Border
Color
has
Uniform
Border
Color
(
)
:
boolean
Returns
boolean
has
Uniform
Border
Radius
has
Uniform
Border
Radius
(
)
:
boolean
Returns
boolean
has
Uniform
Border
Width
has
Uniform
Border
Width
(
)
:
boolean
Returns
boolean
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
with
Border
Bottom
Color
with
Border
Bottom
Color
(
value
:
Color
)
:
Background
Parameters
value:
Color
Returns
Background
with
Border
Bottom
Left
Radius
with
Border
Bottom
Left
Radius
(
value
:
number
)
:
Background
Parameters
value:
number
Returns
Background
with
Border
Bottom
Right
Radius
with
Border
Bottom
Right
Radius
(
value
:
number
)
:
Background
Parameters
value:
number
Returns
Background
with
Border
Bottom
Width
with
Border
Bottom
Width
(
value
:
number
)
:
Background
Parameters
value:
number
Returns
Background
with
Border
Left
Color
with
Border
Left
Color
(
value
:
Color
)
:
Background
Parameters
value:
Color
Returns
Background
with
Border
Left
Width
with
Border
Left
Width
(
value
:
number
)
:
Background
Parameters
value:
number
Returns
Background
with
Border
Right
Color
with
Border
Right
Color
(
value
:
Color
)
:
Background
Parameters
value:
Color
Returns
Background
with
Border
Right
Width
with
Border
Right
Width
(
value
:
number
)
:
Background
Parameters
value:
number
Returns
Background
with
Border
Top
Color
with
Border
Top
Color
(
value
:
Color
)
:
Background
Parameters
value:
Color
Returns
Background
with
Border
Top
Left
Radius
with
Border
Top
Left
Radius
(
value
:
number
)
:
Background
Parameters
value:
number
Returns
Background
with
Border
Top
Right
Radius
with
Border
Top
Right
Radius
(
value
:
number
)
:
Background
Parameters
value:
number
Returns
Background
with
Border
Top
Width
with
Border
Top
Width
(
value
:
number
)
:
Background
Parameters
value:
number
Returns
Background
with
Box
Shadow
with
Box
Shadow
(
value
:
CSSShadow
)
:
Background
Parameters
value:
CSSShadow
Returns
Background
with
Clip
Path
with
Clip
Path
(
value
:
string
)
:
Background
Parameters
value:
string
Returns
Background
with
Color
with
Color
(
value
:
Color
)
:
Background
Parameters
value:
Color
Returns
Background
with
Image
with
Image
(
value
:
string
|
LinearGradient
)
:
Background
Parameters
value:
string
|
LinearGradient
Returns
Background
with
Position
with
Position
(
value
:
string
)
:
Background
Parameters
value:
string
Returns
Background
with
Repeat
with
Repeat
(
value
:
BackgroundRepeatType
)
:
Background
Parameters
value:
BackgroundRepeatType
Returns
Background
with
Size
with
Size
(
value
:
string
)
:
Background
Parameters
value:
string
Returns
Background
Static
equals
equals
(
value1
:
Background
, value2
:
Background
)
:
boolean
Parameters
value1:
Background
value2:
Background
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