Inset clip path + Background circ-ref

This commit is contained in:
vakrilov
2017-02-21 17:35:40 +02:00
parent dc286b13f5
commit 8a0d98e815
4 changed files with 5 additions and 4 deletions

View File

@ -1898,7 +1898,7 @@ function isNonNegativeFiniteNumber(value: number): boolean {
return isFinite(value) && !isNaN(value) && value >= 0;
}
let supportedPaths = ["rect", "circle", "ellipse", "polygon"];
let supportedPaths = ["rect", "circle", "ellipse", "polygon", "inset"];
function isClipPathValid(value: string): boolean {
if (!value) {
return true;

View File

@ -2,7 +2,6 @@ import { Background as BackgroundDefinition, BackgroundDrawParams } from "ui/sty
import { Color, BackgroundRepeat } from "ui/core/view";
import { ImageSource } from "image-source";
import { CSSValue, parse as cssParse } from "css-value";
export * from "ui/core/view";
export class Background implements BackgroundDefinition {
public static default = new Background();

View File

@ -1,4 +1,4 @@
import { View } from "./background-common";
import { View } from "ui/core/view";
import { isNullOrUndefined, isFunction, getClass } from "utils/types";
import { CacheLayerType, layout } from "utils/utils";
import { parse } from "css-value";

View File

@ -1,5 +1,7 @@
import { Background, View, Point, layout, Color } from "./background-common";
import { View, Color, Point } from "ui/core/view";
import { Background } from "./background-common";
import { ios as utilsIos } from "utils/utils";
import { layout } from "utils/utils";
export * from "./background-common";