Interface Filter

Index

Properties

Methods

Properties

public source: FilterSource

public sourceAlpha: FilterSource

Methods

public blend(): Filter

Returns

Filter

public colorMatrix(name: string, value: number): Filter

Parameters

  • name: string
  • value: number

Returns

Filter

public colorMatrix(name: string, matrix: Array<number>): Filter

Parameters

  • name: string
  • matrix: Array<number>

Returns

Filter

public componentTransfer(components: { rgb?: svgjs.FilterComponentTransfer; g?: svgjs.FilterComponentTransfer; }): Filter

Parameters

  • components: { rgb?: svgjs.FilterComponentTransfer; g?: svgjs.FilterComponentTransfer; }

Returns

Filter

public gaussianBlur(values: string): Filter

Parameters

  • values: string

Returns

Filter

public in(source: FilterSource): Filter

Parameters

Returns

Filter

public offset(x: number, y: number): Filter

Parameters

  • x: number
  • y: number

Returns

Filter