Files
NativeScript/color/color.android.ts
Hristo Deshev 77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00

12 lines
263 B
TypeScript

import common = require("./color-common");
export class Color extends common.Color {
get android(): number {
return this.argb;
}
public _argbFromString(hex: string): number {
return android.graphics.Color.parseColor(hex);
}
}