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>> = {}

Protected Readonly captureTextNodes

captureTextNodes: boolean = false

children

children: default[] = []

Protected Readonly document

document: default

Protected Readonly node

node: HTMLElement

parent

parent: default = null

Readonly pathParser

pathParser: default = null

Readonly styles

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

Readonly stylesSpecificity

stylesSpecificity: Record<string, string> = {}

type

type: string = 'rect'

Static Readonly ignoreChildTypes

ignoreChildTypes: string[] = ...

Methods

Protected addChild

  • addChild(childNode: default | HTMLElement): void

addStylesFromStyleDefinition

  • addStylesFromStyleDefinition(): void

Protected applyEffects

Protected calculateOpacity

  • calculateOpacity(): number

clearContext

getAttribute

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

getBoundingBox

getHrefAttribute

getMarkers

  • getMarkers(): any

getStyle

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

Protected matchesSelector

  • matchesSelector(selector: string): boolean

path

Protected pathA

Protected pathC

Protected pathH

Protected pathL

Protected pathM

Protected pathQ

Protected pathS

Protected pathT

Protected pathV

Protected pathZ

Protected removeStyles

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

render

renderChildren

Protected restoreStyles

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

setContext

Static pathA

  • pathA(pathParser: default): { a1: number; ad: number; centp: default; currentPoint: default; rX: number; rY: number; sweepFlag: 0 | 1; xAxisRotation: number }

Static pathC

Static pathH

Static pathL

Static pathM

Static pathQ

Static pathS

Static pathT

Static pathV

Static pathZ

Generated using TypeDoc