Options
All
  • Public
  • Public/Protected
  • All
Menu

Provides a base class for color palettes which may be applied to the SurfaceMeshRenderableSeries3D.meshColorPalette property

remarks

See concrete types SolidColorBrushPalette and GradientColorPalette for more details.

Hierarchy

Index

Constructors

Protected constructor

Properties

propertyChanged

An event handler which notifies subscribers that a property has changed and scene needs to be redrawn

Protected webAssemblyContext

webAssemblyContext: TSciChart3D

The SciChart 3D WebAssembly Context containing native methods and access to our WebGL2 Engine and WebAssembly numerical methods

Methods

Abstract getTexture

  • Used internally - returns a CanvasTexture containing the palette colors which will be sent to SciChart's WebGL WebAssembly rendering engine during rendering

    remarks

    CanvasTexture implements IDeletable and must be deleted to free native memory

    Parameters

    • size: Size

      The desired size of the texture. Default / expected value is [1024,1]

    Returns CanvasTexture

Protected notifyPropertyChanged

  • notifyPropertyChanged(propertyName: string): void
  • Notifies subscribers of propertyChanged

    Parameters

    • propertyName: string

      The property name which changed

    Returns void

Generated using TypeDoc