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