Class SVGBuilder

Constructors

Methods

  • Parameters

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

    Returns SVGCircleElement

  • Returns SVGFEComponentTransferElement

  • Returns SVGDefsElement

  • Parameters

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

    Returns SVGFEDropShadowElement

  • Parameters

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

    Returns SVGFilterElement

  • Parameters

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

    Returns SVGForeignObjectElement

  • Parameters

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

    Returns SVGGElement

  • Parameters

    • boundingBox: TBoundingBox
    • attrs: {
          [key: string]: string;
      } = {}
      • [key: string]: string

    Returns SVGElement

  • Parameters

    • p1: TPoint
    • p2: TPoint
    • attrs: {
          [key: string]: string;
      } = {}
      • [key: string]: string

    Returns SVGLineElement

  • Parameters

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

    Returns SVGMarkerElement

  • Parameters

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

    Returns SVGPathElement

  • Parameters

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

    Returns SVGPolylineElement

  • Parameters

    • box: TBoundingBox
    • attrs: {
          [key: string]: string;
      } = {}
      • [key: string]: string

    Returns SVGRectElement

  • Parameters

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

    Returns SVGTSpanElement

  • Parameters

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

    Returns SVGTextElement

  • Parameters

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

    Returns SVGFEFuncAElement

Generated using TypeDoc