mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
27 lines
689 B
TypeScript
27 lines
689 B
TypeScript
/**
|
|
* Contains the Border class, which represents a UI border component.
|
|
*/
|
|
declare module "ui/border" {
|
|
import contentView = require("ui/content-view");
|
|
import color = require("color");
|
|
|
|
/**
|
|
* Represents a UI border component.
|
|
*/
|
|
export class Border extends contentView.ContentView {
|
|
/**
|
|
* 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;
|
|
}
|
|
} |