Class SvgJsRenderer

Hierarchy

Constructors

Properties

container: string | HTMLElement
svg: Container

Methods

  • Parameters

    • fromX: number
    • fromY: number
    • toX: number
    • toY: number
    • strokeWidth: number
    • color: string

    Returns void

  • Parameters

    • x: number
    • y: number
    • size: number
    • strokeWidth: number
    • strokeColor: string
    • fill: string
    • edges: number
    • Optional classes: string | string[]

    Returns GraphcisElement

  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • strokeWidth: number
    • strokeColor: string
    • Optional classes: string | string[]
    • Optional fill: string
    • Optional radius: number

    Returns GraphcisElement

  • Parameters

    • x: number
    • y: number
    • size: number
    • edges: number

    Returns string

Generated using TypeDoc