mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
11 lines
266 B
TypeScript
11 lines
266 B
TypeScript
import common = require("color/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);
|
|
}
|
|
} |