new FdBar()
Example
var bar = new Freedo.FdEffect.FdBar(viewer, {
data: [{
position: [114.5, 30.6, 0.0],
radius: 1000.0,
length: 200000.0,
color: [255,0,0,255],
label: {
text:'1000',
font: '16px sans-serif',
color: [255,255,0,255],
}
}, {
position: [117.6, 39.6, 0.0],
radius: 2000.0,
length: 300000.0,
color: [255,0,0,255],
label: {
text:'2000',
font: '24px Helvetica',
color: [255,255,0,255],
}
}, {
position: [122.4, 30.5, 0.0],
radius: 2400.0,
length: 350000.0,
color: [255,0,0,255],
label: {
text:'2400',
font: '24px Helvetica',
color: [255,255,0,255],
}
}],
show: true,
});
Methods
-
destroy()
-
销毁当前对象