Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

animationFrozen

animationFrozen: boolean = false

animationFrozenValue

animationFrozenValue: string = ""

Readonly arabicForm

arabicForm: string

Readonly attributes

attributes: Record<string, Property>

Protected Readonly captureTextNodes

captureTextNodes: boolean

children

children: Element[] = []

Protected Readonly document

document: Document

Readonly horizAdvX

horizAdvX: number

Protected Readonly node

node: HTMLElement

parent

parent: Element = null

Readonly pathParser

pathParser: PathParser = null

Readonly styles

styles: Record<string, Property>

Readonly stylesSpecificity

stylesSpecificity: Record<string, string>

type

type: string = "glyph"

Readonly unicode

unicode: string

Static Readonly ignoreChildTypes

ignoreChildTypes: string[] = ['title']

Methods

Protected addChild

  • addChild(childNode: Element | HTMLElement): void

addStylesFromStyleDefinition

  • addStylesFromStyleDefinition(): void

Protected applyEffects

Protected calculateOpacity

  • calculateOpacity(): number

clearContext

getAttribute

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

getBoundingBox

getHrefAttribute

getMarkers

getStyle

  • getStyle(name: string, createIfNotExists?: boolean, skipAncestors?: boolean): Property

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: Element, ignoreStyles: string[]): [string, string][]

render

renderChildren

Protected restoreStyles

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

setContext

Static pathA

  • pathA(pathParser: PathParser): { a1: number; ad: number; centp: Point; currentPoint: Point; 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