@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
21 lines (20 loc) • 1.06 kB
TypeScript
import { View } from '../core/view';
export * from './background-common';
export declare enum CacheMode {
none = 0
}
export declare namespace ios {
function createBackgroundUIColor(view: View, callback: (uiColor: UIColor) => void, flip?: boolean): void;
function drawBackgroundVisualEffects(view: View): void;
function clearBackgroundVisualEffects(view: View): void;
function createUIImageFromURI(view: View, imageURI: string, flip: boolean, callback: (image: UIImage) => void): void;
function generateShadowLayerPaths(view: View, bounds: CGRect): {
maskPath: any;
shadowPath: any;
};
function generateClipPath(view: View, bounds: CGRect): UIBezierPath;
function getUniformBorderRadius(view: View, bounds: CGRect): number;
function generateNonUniformBorderInnerClipRoundedPath(view: View, bounds: CGRect): any;
function generateNonUniformBorderOuterClipRoundedPath(view: View, bounds: CGRect): any;
function generateNonUniformMultiColorBorderRoundedPaths(view: View, bounds: CGRect): Array<any>;
}