Search
Preparing search index...
The search index is not available
SavageDOM
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Filter
Class Filter
Hierarchy
Element
<
SVGFilterElement
,
Filter_Attributes
,
Filter_Events
>
Filter
Index
Constructors
constructor
Properties
_node
_ref
Counter
_style
context
Accessors
bounding
Box
id
node
Methods
add
add
Lights
animate
Attribute
blend
clone
clone
Node
color
Matrix
component
Transfer
composite
convolve
Matrix
copy
Style
From
destroy
diffuse
Lighting
displacement
Map
flood
flush
gaussian
Blur
get
Attribute
get
Children
get
Event
get
Events
get
Unique
Primitive
Reference
image
link
Dynamic
Attribute
merge
morphology
offset
render
Attribute
set
Attribute
set
Attributes
specular
Lighting
tile
to
String
turbulence
Constructors
constructor
new
Filter
(
context
:
Context
)
:
Filter
Parameters
context:
Context
Returns
Filter
Properties
Protected
_node
_node
:
SVGFilterElement
Private
_ref
Counter
_ref
Counter
:
number
= 0
Protected
_style
_style
:
CSSStyleDeclaration
context
context
:
Context
Accessors
bounding
Box
get
boundingBox
(
)
:
Box
Returns
Box
id
get
id
(
)
:
string
Returns
string
node
get
node
(
)
:
SVGFilterElement
Returns
SVGFilterElement
Methods
add
add
(
el
:
Element
<
SVGElement
>
|
SVGElement
)
:
void
Parameters
el:
Element
<
SVGElement
>
|
SVGElement
Returns
void
Private
add
Lights
add
Lights
(
lighting
:
Element
<
SVGFEDiffuseLightingElement
|
SVGFESpecularLightingElement
,
FilterPrimitive_Attributes
>
, lights
:
LightSource_Attributes
[]
)
:
void
Parameters
lighting:
Element
<
SVGFEDiffuseLightingElement
|
SVGFESpecularLightingElement
,
FilterPrimitive_Attributes
>
lights:
LightSource_Attributes
[]
Returns
void
animate
Attribute
animate
Attribute<Attr>
(
name
:
Attr
, val
:
ATTRIBUTES[Attr]
, duration
:
number
, easing
:
EasingFunction
)
:
Promise
<
number
>
|
undefined
Type parameters
Attr
:
keyof Filter_Attributes
Parameters
name:
Attr
val:
ATTRIBUTES[Attr]
duration:
number
easing:
EasingFunction
Returns
Promise
<
number
>
|
undefined
blend
blend
(
mode
:
"normal"
|
"multiply"
|
"screen"
|
"darken"
|
"lighten"
, input1
:
FilterInput
, input2
?:
FilterInput
)
:
Blend_Primitive
Parameters
mode:
"normal"
|
"multiply"
|
"screen"
|
"darken"
|
"lighten"
input1:
FilterInput
Optional
input2:
FilterInput
Returns
Blend_Primitive
clone
clone
(
deep
?:
boolean
, id
?:
string
)
:
Element
<
SVGFilterElement
,
Filter_Attributes
,
Filter_Events
>
Parameters
Default value
deep:
boolean
= true
Default value
id:
string
= randomShortStringId()
Returns
Element
<
SVGFilterElement
,
Filter_Attributes
,
Filter_Events
>
Protected
clone
Node
clone
Node
(
deep
?:
boolean
)
:
SVGFilterElement
Parameters
Default value
deep:
boolean
= true
Returns
SVGFilterElement
color
Matrix
color
Matrix
(
matrix
:
ColorMatrix
, input
?:
FilterInput
)
:
ColorMatrix_Primitive
Parameters
matrix:
ColorMatrix
Optional
input:
FilterInput
Returns
ColorMatrix_Primitive
component
Transfer
component
Transfer
(
r
:
TransferFunction_Attributes
, g
:
TransferFunction_Attributes
, b
:
TransferFunction_Attributes
, a
?:
TransferFunction_Attributes
, input
?:
FilterInput
)
:
ComponentTransfer_Primitive
Parameters
r:
TransferFunction_Attributes
g:
TransferFunction_Attributes
b:
TransferFunction_Attributes
Optional
a:
TransferFunction_Attributes
Optional
input:
FilterInput
Returns
ComponentTransfer_Primitive
composite
composite
(
operator
:
"over"
|
"in"
|
"out"
|
"atop"
|
"xor"
|
"arithmetic"
, k1
:
number
, k2
:
number
, k3
:
number
, k4
:
number
, input1
?:
FilterInput
, input2
?:
FilterInput
)
:
Composite_Primitive
Parameters
operator:
"over"
|
"in"
|
"out"
|
"atop"
|
"xor"
|
"arithmetic"
k1:
number
k2:
number
k3:
number
k4:
number
Optional
input1:
FilterInput
Optional
input2:
FilterInput
Returns
Composite_Primitive
convolve
Matrix
convolve
Matrix
(
attrs
:
Partial
<
ConvolveMatrix_Attributes
>
, input
?:
FilterInput
)
:
ConvolveMatrix_Primitive
Parameters
attrs:
Partial
<
ConvolveMatrix_Attributes
>
Optional
input:
FilterInput
Returns
ConvolveMatrix_Primitive
copy
Style
From
copy
Style
From
(
el
:
Element
<
SVGElement
,
Filter_Attributes
,
any
>
)
:
void
copy
Style
From
(
el
:
Element
<
SVGElement
,
Filter_Attributes
,
any
>
, includeExclude
:
object
, defaultInclude
:
boolean
)
:
void
Parameters
el:
Element
<
SVGElement
,
Filter_Attributes
,
any
>
Returns
void
Parameters
el:
Element
<
SVGElement
,
Filter_Attributes
,
any
>
includeExclude:
object
defaultInclude:
boolean
Returns
void
destroy
destroy
(
)
:
void
Returns
void
diffuse
Lighting
diffuse
Lighting
(
attrs
:
Partial
<
DiffuseLighting_Attributes
>
, lights
?:
LightSource_Attributes
[]
, input
?:
FilterInput
)
:
DiffuseLighting
Parameters
attrs:
Partial
<
DiffuseLighting_Attributes
>
Default value
lights:
LightSource_Attributes
[]
= []
Optional
input:
FilterInput
Returns
DiffuseLighting
displacement
Map
displacement
Map
(
attrs
:
Partial
<
DisplacementMap_Attributes
>
, input1
?:
FilterInput
, input2
?:
FilterInput
)
:
DisplacementMap_Primitive
Parameters
attrs:
Partial
<
DisplacementMap_Attributes
>
Optional
input1:
FilterInput
Optional
input2:
FilterInput
Returns
DisplacementMap_Primitive
flood
flood
(
color
:
Color
, area
:
Box
)
:
Flood_Primitive
Parameters
color:
Color
area:
Box
Returns
Flood_Primitive
flush
flush
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
gaussian
Blur
gaussian
Blur
(
stdDeviation
?:
number
, edgeMode
?:
"duplicate"
|
"wrap"
|
None
, input
?:
FilterInput
)
:
GaussianBlur_Primitive
Parameters
Default value
stdDeviation:
number
= 0
Default value
edgeMode:
"duplicate"
|
"wrap"
|
None
= "duplicate"
Optional
input:
FilterInput
Returns
GaussianBlur_Primitive
get
Attribute
get
Attribute<Attr>
(
name
:
Attr
)
:
string
|
null
Type parameters
Attr
:
keyof Filter_Attributes
Parameters
name:
Attr
Returns
string
|
null
get
Children
get
Children
(
)
:
Element
<
SVGElement
>
[]
Returns
Element
<
SVGElement
>
[]
get
Event
get
Event<EVENT>
(
event
:
EVENT
)
:
Observable
<
EVENTS[EVENT]
>
Type parameters
EVENT
:
keyof Filter_Events
Parameters
event:
EVENT
Returns
Observable
<
EVENTS[EVENT]
>
get
Events
get
Events
(
...
events
:
keyof EVENTS
[]
)
:
Observable
<
Event
>
Parameters
Rest
...
events:
keyof EVENTS
[]
Returns
Observable
<
Event
>
get
Unique
Primitive
Reference
get
Unique
Primitive
Reference
(
)
:
string
Returns
string
image
image
(
href
:
string
, preserveAspectRatio
?:
PreserveAspectRatio
)
:
Image_Primitive
Parameters
href:
string
Optional
preserveAspectRatio:
PreserveAspectRatio
Returns
Image_Primitive
link
Dynamic
Attribute
link
Dynamic
Attribute<Attr>
(
name
:
Attr
, val
:
Observable
<
ATTRIBUTES[Attr]
>
)
:
Subscription
Type parameters
Attr
:
keyof Filter_Attributes
Parameters
name:
Attr
val:
Observable
<
ATTRIBUTES[Attr]
>
Returns
Subscription
merge
merge
(
inputs
:
FilterInput
[]
)
:
Merge_Primitive
Parameters
inputs:
FilterInput
[]
Returns
Merge_Primitive
morphology
morphology
(
operator
:
"erode"
|
"dilate"
, radius
:
NumberOptionalNumber
, input
?:
FilterInput
)
:
Morphology_Primitive
Parameters
operator:
"erode"
|
"dilate"
radius:
NumberOptionalNumber
Optional
input:
FilterInput
Returns
Morphology_Primitive
offset
offset
(
d
:
Point
, input
?:
FilterInput
)
:
Offset_Primitive
Parameters
d:
Point
Optional
input:
FilterInput
Returns
Offset_Primitive
render
Attribute
render
Attribute<Attr>
(
name
:
Attr
, val
:
ATTRIBUTES[Attr]
)
:
void
Type parameters
Attr
:
keyof Filter_Attributes
Parameters
name:
Attr
val:
ATTRIBUTES[Attr]
Returns
void
set
Attribute
set
Attribute<Attr>
(
name
:
Attr
, val
:
ATTRIBUTES[Attr]
)
:
void
Type parameters
Attr
:
keyof Filter_Attributes
Parameters
name:
Attr
val:
ATTRIBUTES[Attr]
Returns
void
set
Attributes
set
Attributes
(
attrs
:
Partial
<
Filter_Attributes
>
)
:
void
Parameters
attrs:
Partial
<
Filter_Attributes
>
Returns
void
specular
Lighting
specular
Lighting
(
attrs
:
Partial
<
SpecularLighting_Attributes
>
, lights
?:
LightSource_Attributes
[]
)
:
SpecularLighting
Parameters
attrs:
Partial
<
SpecularLighting_Attributes
>
Default value
lights:
LightSource_Attributes
[]
= []
Returns
SpecularLighting
tile
tile
(
area
:
Box
, input
?:
FilterInput
)
:
Tile_Primitive
Parameters
area:
Box
Optional
input:
FilterInput
Returns
Tile_Primitive
to
String
to
String
(
)
:
string
Returns
string
turbulence
turbulence
(
attrs
:
Partial
<
Turbulence_Attributes
>
)
:
Turbulence_Primitive
Parameters
attrs:
Partial
<
Turbulence_Attributes
>
Returns
Turbulence_Primitive
Globals
Filter
constructor
_node
_ref
Counter
_style
context
bounding
Box
id
node
add
add
Lights
animate
Attribute
blend
clone
clone
Node
color
Matrix
component
Transfer
composite
convolve
Matrix
copy
Style
From
destroy
diffuse
Lighting
displacement
Map
flood
flush
gaussian
Blur
get
Attribute
get
Children
get
Event
get
Events
get
Unique
Primitive
Reference
image
link
Dynamic
Attribute
merge
morphology
offset
render
Attribute
set
Attribute
set
Attributes
specular
Lighting
tile
to
String
turbulence
Generated using
TypeDoc