Clover.js | |
Properties | |
angle | 三叶草每个扇叶的圆心角,默认为30,单位弧度。 {number} |
Constructor | |
SuperMap. |
三叶草 |
Functions | |
destroy | 销毁该类,释放相关资源 |
三叶草
var clover = new SuperMap.Style.Clover({ radius: 15, angle: 60, count: 3, fill: new SuperMap.Style.Fill({ color: "rgba(238, 153, 0, 0.4)" }), stroke: new SuperMap.Style.Stroke({ color: "#ff0000", width: 1 }) } ); var graphic = new SuperMap.Graphic(new SuperMap.Geometry.Point(0,0)); graphic.style = { image: clover}
opt_options | {Object} |
Object.radius | {number} 外接圆半径 |
Object.angle | {Number} 三叶草扇叶角度 |
Object.count | {Number} 三叶草叶片数量 |
Object.fill | {SuperMap.Style.Fill} |
Object.stroke | {SuperMap.Style.Fill} |
销毁该类,释放相关资源
destroy: function()