Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "ops/arc-length"

Index

Variables

Variables

Const arcLength

arcLength: MultiFn1<IShape, number> = defmulti<IShape, number>(dispatch)

Returns the arc length / perimeter / circumference of the given shape. For groups calls arcLength for each child and returns the sum of results.

Implemented for:

  • Circle
  • Ellipse
  • Group
  • Line
  • Polygon
  • Polyline
  • Quad
  • Rect
  • Triangle

Generated using TypeDoc