Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TintedBioblocks1DSection<T>

Class to encapsulate a 1 Dimensional data segment that has an associated color with it.

export
extends

Bioblocks1DSection

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

Properties

label

label: T

Protected sectionColor

sectionColor: Color = "orange"

Protected sectionEnd

sectionEnd: number = 0

Protected sectionStart

sectionStart: number = 0

Accessors

color

  • get color(): string | number | (undefined | null | string | number)[] | (undefined | null | string | number)[][]

end

  • get end(): number

length

  • get length(): number

start

  • get start(): number

Methods

contains

  • contains(...values: number[]): boolean

isEqual

updateColor

  • updateColor(color: Color): void

updateEnd

  • updateEnd(newNum: number): void

updateStart

  • updateStart(newNum: number): void

Generated using TypeDoc