Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/Geometry/Shape

Index

Functions

beginGraph

  • beginGraph(x?: number, y?: number, svgWidth?: number, svgHeight?: number): Graph
  • beginGraph() begins a SVG graph

    remarks

    This function is part of Graph

    Parameters

    • x: number = 0
    • y: number = 0
    • svgWidth: number = ...
    • svgHeight: number = ...

    Returns Graph

controlPoint

  • controlPoint(...args: any[]): undefined | SVGControlPoint
  • controlPoint(x, y) creates a draggable point at (x,y)

    Parameters

    • Rest ...args: any[]

    Returns undefined | SVGControlPoint

    co-ordinates of current position

endGraph

  • endGraph(): void

polyline

  • polyline(arr: any): Polyline
  • polyline is used to create any shape that consists of only straight lines

    Parameters

    • arr: any

    Returns Polyline

Generated using TypeDoc