UNPKG

nativescript-shadowed-label

Version:
16 lines 866 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var shadowed_label_common_1 = require("./shadowed-label.common"); var utils_1 = require("tns-core-modules/utils/utils"); var ShadowedLabel = (function (_super) { __extends(ShadowedLabel, _super); function ShadowedLabel() { return _super !== null && _super.apply(this, arguments) || this; } ShadowedLabel.prototype[shadowed_label_common_1.textShadowProperty.setNative] = function (value) { this.nativeViewProtected.setShadowLayer(utils_1.layout.toDevicePixels(value.blurRadius), utils_1.layout.toDevicePixels(value.offsetX), utils_1.layout.toDevicePixels(value.offsetY), value.color.android); }; return ShadowedLabel; }(shadowed_label_common_1.ShadowedLabel)); exports.ShadowedLabel = ShadowedLabel; //# sourceMappingURL=shadowed-label.android.js.map