Class SVGBuilder

Constructors

Methods

  • Parameters

    • p: TPoint
    • r: number
    • attrs: { [key: string]: string } = {}

    Returns SVGCircleElement

  • Returns SVGFEComponentTransferElement

  • Returns SVGDefsElement

  • Parameters

    • __namedParameters: {
          color?: string;
          deviation?: number;
          dx?: number;
          dy?: number;
          opacity?: number;
      }

    Returns SVGFEDropShadowElement

  • Parameters

    • id: string
    • attrs: { [key: string]: string } = {}

    Returns SVGFilterElement

  • Parameters

    • box: TBox
    • node: HTMLElement
    • attrs: { [key: string]: string } = {}

    Returns SVGForeignObjectElement

  • Parameters

    • attrs: { [key: string]: string } = {}

    Returns SVGGElement

  • Parameters

    • boundingBox: TBox
    • attrs: { [key: string]: string } = {}

    Returns SVGSVGElement

  • Parameters

    Returns SVGLineElement

  • Parameters

    • id: string
    • attrs: { [key: string]: string } = {}

    Returns SVGMarkerElement

  • Parameters

    • attrs: { [key: string]: string } = {}

    Returns SVGPathElement

  • Parameters

    • points: number[]
    • attrs: { [key: string]: string } = {}

    Returns SVGPolylineElement

  • Parameters

    • box: TBox
    • attrs: { [key: string]: string } = {}

    Returns SVGRectElement

  • Parameters

    • p: TPoint
    • text: string
    • attrs: { [key: string]: string } = {}

    Returns SVGTextElement

  • Parameters

    • type: "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR"
    • values: string

    Returns SVGFEFuncAElement

  • Parameters

    • text: string
    • attrs: { [key: string]: string } = {}

    Returns SVGTSpanElement