Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineElement

Hierarchy

Index

Constructors

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

Properties

animationFrozen: boolean = false
animationFrozenValue: string = ''
attributes: Record<string, Property<unknown>> = {}
captureTextNodes: boolean = false
children: Element[] = []
document: Document
node?: HTMLElement
parent: Element = null
pathParser: PathParser
styles: Record<string, Property<unknown>> = {}
stylesSpecificity: Record<string, string> = {}
type: string = 'line'
ignoreChildTypes: string[] = ...

Methods

  • addChild(childNode: HTMLElement | Element): void
  • addStylesFromStyleDefinition(): void
  • calculateOpacity(): number
  • getAttribute(name: string, createIfNotExists?: boolean): Property<unknown>
  • getMarkers(): Marker[]
  • getStyle(name: string, createIfNotExists?: boolean, skipAncestors?: boolean): Property<unknown>
  • isFirstChild(): boolean
  • matchesSelector(selector: string): boolean
  • removeStyles(element: Element, ignoreStyles: string[]): [string, string][]
  • restoreStyles(element: Element, styles: [string, string][]): void
  • pathA(pathParser: PathParser): { a1: number; ad: number; centp: Point; currentPoint: Point; rX: number; rY: number; sweepFlag: 0 | 1; xAxisRotation: number }

Generated using TypeDoc