SuperMap.Style.Circle

圆形类.

Summary
SuperMap.Style.Circle 圆形类.
Constructor
SuperMap.Style.Circle 圆形
Functions
destroy 销毁该类,释放相关资源

Constructor

SuperMap.Style.Circle

圆形

Examples

var circle = new SuperMap.Style.Circle(
      6,
     new SuperMap.Style.Fill({
         color: "rgba(238, 153, 0, 0.4)"
     }),
     new SuperMap.Style.Stroke({
         color: "#ff0000",
         width: 1
     })
 );

 var graphic = new SuperMap.Graphic(new SuperMap.Geometry.Point(0,0));
 graphic.style = { image: circle}

Parameters

opt_options {Object} Object.radius 半径 Object.fill 图形填充样式 Object.stroke 图形边框样式

Functions

destroy

destroy: function()

销毁该类,释放相关资源

destroy: function()
销毁该类,释放相关资源
Close