Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FilterPrimitive<ELEMENT, ATTRIBUTES>

Type parameters

Hierarchy

Index

Constructors

constructor

  • new FilterPrimitive(filter: Filter, name: string, attrs?: Partial<ATTRIBUTES>, _ref?: string): FilterPrimitive

Properties

Protected _node

_node: ELEMENT

Private _ref

_ref: string

Protected _style

_style: CSSStyleDeclaration

context

context: Context

Accessors

boundingBox

  • get boundingBox(): Box

id

  • get id(): string

node

  • get node(): ELEMENT

Methods

add

  • add(el: Element<SVGElement> | SVGElement): void

animateAttribute

  • animateAttribute<Attr>(name: Attr, val: ATTRIBUTES[Attr], duration: number, easing: EasingFunction): Promise<number> | undefined

clone

Protected cloneNode

  • cloneNode(deep?: boolean): ELEMENT

copyStyleFrom

  • copyStyleFrom(el: Element<SVGElement, ATTRIBUTES, any>): void
  • copyStyleFrom(el: Element<SVGElement, ATTRIBUTES, any>, includeExclude: object, defaultInclude: boolean): void

destroy

  • destroy(): void

flush

  • flush(): Promise<number>

getAttribute

  • getAttribute<Attr>(name: Attr): string | null

getChildren

  • getChildren(): Element<SVGElement>[]

getEvent

  • getEvent<EVENT>(event: EVENT): Observable<EVENTS[EVENT]>
  • Type parameters

    • EVENT: keyof FilterPrimitive_Events

    Parameters

    • event: EVENT

    Returns Observable<EVENTS[EVENT]>

getEvents

  • getEvents(...events: keyof EVENTS[]): Observable<Event>

linkDynamicAttribute

  • linkDynamicAttribute<Attr>(name: Attr, val: Observable<ATTRIBUTES[Attr]>): Subscription

renderAttribute

  • renderAttribute<Attr>(name: Attr, val: ATTRIBUTES[Attr]): void

setAttribute

  • setAttribute<Attr>(name: Attr, val: ATTRIBUTES[Attr]): void

setAttributes

  • setAttributes(attrs: Partial<ATTRIBUTES>): void

toString

  • toString(): string

Generated using TypeDoc