Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InvertedLuminanceSource

A wrapper implementation of LuminanceSource which inverts the luminances it returns -- black becomes white and vice versa, and each value becomes (255-value).

author

Sean Owen

Hierarchy

Index

Constructors

constructor

Properties

Private delegate

delegate: LuminanceSource

Methods

crop

  • crop(left: number, top: number, width: number, height: number): LuminanceSource

getHeight

  • getHeight(): number

getMatrix

  • getMatrix(): Uint8ClampedArray

getRow

  • getRow(y: number, row?: Uint8ClampedArray): Uint8ClampedArray

getWidth

  • getWidth(): number

invert

isCropSupported

  • isCropSupported(): boolean

isRotateSupported

  • isRotateSupported(): boolean

rotateCounterClockwise

rotateCounterClockwise45

toString

  • toString(): string

Generated using TypeDoc