16-1.Paths 路径

144 阅读1分钟

Paths

  • d3.geoPath - create a new geographic path generator.创建一个地理路径生成器
  • path - project and render the specified feature.投影和渲染指定特征
  • path.area - compute the projected planar area of a given feature.计算给定特征的平面投影
  • path.bounds - compute the projected planar bounding box of a given feature.计算给定特征的投影平面边界框
  • path.centroid - compute the projected planar centroid of a given feature.计算给定特征的平面投影的质心
  • path.measure - compute the projected planar length of a given feature.计算给定特征的平面投影的长度
  • path.projection - set the geographic projection.设置地理投影
  • path.context - set the render context.设置渲染文本
  • path.pointRadius - set the radius to display point features.设置显示点特征的半径