Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new default(document: default, node: HTMLElement, captureTextNodes?: boolean): default

Properties

animationFrozen

animationFrozen: boolean = false

animationFrozenValue

animationFrozenValue: string = ''

Readonly attributes

attributes: Record<string, default<any>> = {}

Readonly attributesToInherit

attributesToInherit: string[] = ...

Protected Readonly captureTextNodes

captureTextNodes: boolean = false

children

children: default[] = []

Protected Readonly document

document: default

Protected Readonly node

node: HTMLElement

parent

parent: default = null

Protected Readonly stops

stops: default[] = []

Readonly styles

styles: Record<string, default<any>> = {}

Readonly stylesSpecificity

stylesSpecificity: Record<string, string> = {}

Readonly type

type: string

Static Readonly ignoreChildTypes

ignoreChildTypes: string[] = ...

Methods

Protected addChild

  • addChild(childNode: default | HTMLElement): void

Protected addParentOpacity

  • addParentOpacity(parentOpacityProp: default<any>, color: string): string

addStylesFromStyleDefinition

  • addStylesFromStyleDefinition(): void

Protected applyEffects

clearContext

createGradient

  • createGradient(ctx: RenderingContext2D, element: any, parentOpacityProp: default<any>): string | CanvasPattern | CanvasGradient

getAttribute

  • getAttribute(name: string, createIfNotExists?: boolean): default<any>

Abstract getGradient

getGradientUnits

  • getGradientUnits(): string

getHrefAttribute

getStyle

  • getStyle(name: string, createIfNotExists?: boolean, skipAncestors?: boolean): default<any>

Protected inheritStopContainer

  • inheritStopContainer(stopsContainer: default): void

Protected matchesSelector

  • matchesSelector(selector: string): boolean

Protected removeStyles

  • removeStyles(element: default, ignoreStyles: string[]): [string, string][]

render

renderChildren

Protected restoreStyles

  • restoreStyles(element: default, styles: [string, string][]): void

setContext

Generated using TypeDoc