forked from NativeScript/NativeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathborder.d.ts
More file actions
36 lines (31 loc) · 1.04 KB
/
border.d.ts
File metadata and controls
36 lines (31 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
* Contains the Border class, which represents a UI border component.
*/
declare module "ui/border" {
import contentView = require("ui/content-view");
import color = require("color");
import dependencyObservable = require("ui/core/dependency-observable");
/**
* Represents a UI border component.
*/
export class Border extends contentView.ContentView {
public static cornerRadiusProperty : dependencyObservable.Property;
public static borderWidthProperty: dependencyObservable.Property;
public static borderColorProperty: dependencyObservable.Property;
/**
* Gets or sets the corner radius of the border component.
*/
cornerRadius: number;
/**
* Gets or sets the border width of the border component.
*/
borderWidth: number;
/**
* Gets or sets the border color of the border component.
*/
borderColor: color.Color;
//@private
_updateAndroidBorder();
//@endprivate
}
}