viz-font.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. "use strict";
  2. var __extends = (this && this.__extends) || (function () {
  3. var extendStatics = Object.setPrototypeOf ||
  4. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  5. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  6. return function (d, b) {
  7. extendStatics(d, b);
  8. function __() { this.constructor = d; }
  9. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  10. };
  11. })();
  12. /*!
  13. * devextreme-angular
  14. * Version: 19.1.16
  15. * Build date: Tue Oct 18 2022
  16. *
  17. * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
  18. *
  19. * This software may be modified and distributed under the terms
  20. * of the MIT license. See the LICENSE file in the root of the project for details.
  21. *
  22. * https://github.com/DevExpress/devextreme-angular
  23. */
  24. Object.defineProperty(exports, "__esModule", { value: true });
  25. var nested_option_1 = require("../../../core/nested-option");
  26. var DxoVizFont = (function (_super) {
  27. __extends(DxoVizFont, _super);
  28. function DxoVizFont() {
  29. return _super !== null && _super.apply(this, arguments) || this;
  30. }
  31. Object.defineProperty(DxoVizFont.prototype, "color", {
  32. get: function () {
  33. return this._getOption('color');
  34. },
  35. set: function (value) {
  36. this._setOption('color', value);
  37. },
  38. enumerable: true,
  39. configurable: true
  40. });
  41. Object.defineProperty(DxoVizFont.prototype, "family", {
  42. get: function () {
  43. return this._getOption('family');
  44. },
  45. set: function (value) {
  46. this._setOption('family', value);
  47. },
  48. enumerable: true,
  49. configurable: true
  50. });
  51. Object.defineProperty(DxoVizFont.prototype, "opacity", {
  52. get: function () {
  53. return this._getOption('opacity');
  54. },
  55. set: function (value) {
  56. this._setOption('opacity', value);
  57. },
  58. enumerable: true,
  59. configurable: true
  60. });
  61. Object.defineProperty(DxoVizFont.prototype, "size", {
  62. get: function () {
  63. return this._getOption('size');
  64. },
  65. set: function (value) {
  66. this._setOption('size', value);
  67. },
  68. enumerable: true,
  69. configurable: true
  70. });
  71. Object.defineProperty(DxoVizFont.prototype, "weight", {
  72. get: function () {
  73. return this._getOption('weight');
  74. },
  75. set: function (value) {
  76. this._setOption('weight', value);
  77. },
  78. enumerable: true,
  79. configurable: true
  80. });
  81. return DxoVizFont;
  82. }(nested_option_1.NestedOption));
  83. exports.DxoVizFont = DxoVizFont;
  84. //# sourceMappingURL=viz-font.js.map