curve-lines

<script src="./point_src/curve-lines"></script>

requires line/Line

Replaced by curve-extrs/BezierCurve

Meta Data
filepath_exists True
path curve-lines
filepath curve-lines.js
clean_files ()

  • ClassDeclaration
    class comments:
    requires line/Line Replaced by curve-extrs/BezierCurve
    create(p1, p2, color='red', width=1) {
    • method

      getControlPoints

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
      A bezier requires two control points
    • method

      perform

      (
      ctx
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
      https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo
    dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
  • ClassDeclaration
    class comments:
    cpx
    • method

      create

      (
      a , b , length = undefined , color = red , width = 1
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      getCurveLength

      (
      a , b
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      getControlPoints

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      perform

      (
      ctx
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
      cpx
    dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])