* @function Graphic.prototype.setStyle * @description 设置点样式。 * @param {Object} style -样式选项。 * @param {Array} [style.color] - 颜色。 * @param {number} [style.radius] - 半径。
(style)
| 78 | * @param {number} [style.radius] - 半径。 |
| 79 | */ |
| 80 | setStyle(style) { |
| 81 | this.style = Util.extend(this.style, style); |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * @function Graphic.prototype.getStyle |