NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"@nativescript/core"
Background
Class Background
Globals
"@nativescript/core"
Font
Style
Font
Weight
Grid
Unit
Type
Length
Percent
Length
Screen
ad
categories
encoding
ios
known
Folders
layout
message
Type
path
Background
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
clip
Path
color
image
position
repeat
size
default
get
Uniform
Border
Color
get
Uniform
Border
Radius
get
Uniform
Border
Width
has
Border
Color
has
Border
Radius
has
Border
Width
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
Clip
Path
with
Color
with
Image
with
Position
with
Repeat
with
Size
equals
Hierarchy
Background
Index
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
clip
Path
color
image
position
repeat
size
default
Methods
get
Uniform
Border
Color
get
Uniform
Border
Radius
get
Uniform
Border
Width
has
Border
Color
has
Border
Radius
has
Border
Width
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
Clip
Path
with
Color
with
Image
with
Position
with
Repeat
with
Size
equals
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
clip
Path
clip
Path
:
string
color
color
:
Color
image
image
:
string
|
LinearGradient
position
position
:
string
repeat
repeat
:
BackgroundRepeat
size
size
:
string
Static
default
default
:
Background
Methods
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
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
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
:
BackgroundRepeat
)
:
Background
Parameters
value:
BackgroundRepeat
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
🐛 Debug your mobile network traffic with Fiddler! Try it on
iOS
or
Android