UNPKG

827 BTypeScriptView Raw
1import { LinearGradient } from './styling/linear-gradient';
2interface NativeScriptUIView extends UIView {
3 hasNonUniformBorder: boolean;
4 hasNonUniformBorderColor: boolean;
5 borderLayer: CAShapeLayer;
6 maskType: ios.LayerMaskType;
7 originalMask: CALayer;
8 gradientLayer: CAGradientLayer;
9 outerShadowContainerLayer: CALayer;
10}
11export declare namespace ios {
12 type LayerMaskType = 'BORDER' | 'CLIP_PATH';
13 namespace LayerMask {
14 const BORDER = "BORDER";
15 const CLIP_PATH = "CLIP_PATH";
16 }
17 function getActualHeight(view: UIView): number;
18 function getStatusBarHeight(viewController?: UIViewController): number;
19 function drawGradient(nativeView: NativeScriptUIView, gradientLayer: CAGradientLayer, gradient: LinearGradient, gradientLayerOpacity?: number): void;
20}
21export {};