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