Components Interactions Examples Tutorials API FAQ
Options
Menu

Interface Path

Hierarchy

  • Path

Callable

  • __call(feature: any, index?: number): string

Index

Methods

area

  • area(feature: any): number

bounds

  • bounds(feature: any): [[number, number], [number, number]]

centroid

  • centroid(feature: any): [number, number]

context

  • context(): CanvasRenderingContext2D
  • context(context: CanvasRenderingContext2D): Path

pointRadius

  • pointRadius(): number | function
  • pointRadius(radius: number): Path
  • pointRadius(radius: function): Path

projection

Generated using TypeDoc