1 | export interface NativeScriptUIView extends UIView {
|
2 | hasNonUniformBorder: boolean;
|
3 | hasNonUniformBorderColor: boolean;
|
4 | borderLayer: CAShapeLayer;
|
5 |
|
6 | maskType: ios.LayerMaskType;
|
7 | originalMask: CALayer;
|
8 |
|
9 | gradientLayer: CAGradientLayer;
|
10 | outerShadowContainerLayer: CALayer;
|
11 | }
|
12 |
|
13 | export namespace ios {
|
14 | export type LayerMaskType = 'BORDER' | 'CLIP_PATH';
|
15 | export namespace LayerMask {
|
16 | export const BORDER = 'BORDER';
|
17 | export const CLIP_PATH = 'CLIP_PATH';
|
18 | }
|
19 |
|
20 | |
21 |
|
22 |
|
23 |
|
24 | export function getActualHeight(uiView: any ): number;
|
25 |
|
26 | |
27 |
|
28 |
|
29 |
|
30 | export function getStatusBarHeight(viewController?: any): number;
|
31 |
|
32 | |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 | export function drawGradient(uiView: NativeScriptUIView, gradientLayer: CAGradientLayer, gradient: LinearGradient, gradientLayerOpacity?: number): void;
|
40 | }
|