Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "porter-duff"

Index

Variables

Const composeDest

composeDest: (Anonymous function) = porterDuff((_, d) => d, 1, 0, 1)

Porter-Duff operator. Always results in dest color, src ignored.

see

porterDuff

Const composeDestAtop

composeDestAtop: (Anonymous function) = porterDuff((_, d) => d, 1, 1, 0)

Porter-Duff operator. The destination that overlaps the source is composited with the source and replaces the destination.

see

porterDuff

Const composeDestIn

composeDestIn: (Anonymous function) = porterDuff((_, d) => d, 1, 0, 0)

Porter-Duff operator. The destination that overlaps the source, replaces the source.

see

porterDuff

Const composeDestOut

composeDestOut: (Anonymous function) = porterDuff((_, d) => d, 0, 0, 1)

Porter-Duff operator. The destination that does not overlap the source replaces the source.

see

porterDuff

Const composeDestOver

composeDestOver: (Anonymous function) = porterDuff((_, d) => d, 1, 1, 1)

Porter-Duff operator. The destination color is placed over the source color.

see

porterDuff

Const composeSrc

composeSrc: (Anonymous function) = porterDuff((s) => s, 1, 1, 0)

Porter-Duff operator. Always results in src color, dest ignored.

see

porterDuff

Const composeSrcAtop

composeSrcAtop: (Anonymous function) = porterDuff((s) => s, 1, 0, 1)

Porter-Duff operator. The source that overlaps the destination is composited with the destination.

see

porterDuff

Const composeSrcIn

composeSrcIn: (Anonymous function) = porterDuff((s) => s, 1, 0, 0)

Porter-Duff operator. The source that overlaps the destination, replaces the destination.

see

porterDuff

Const composeSrcOut

composeSrcOut: (Anonymous function) = porterDuff((s) => s, 0, 1, 0)

Porter-Duff operator. The source that does not overlap the destination replaces the destination.

see

porterDuff

Const composeSrcOver

composeSrcOver: (Anonymous function) = porterDuff((s) => s, 1, 1, 1)

Porter-Duff operator. The source color is placed over the destination color.

see

porterDuff

Const composeXor

composeXor: (Anonymous function) = porterDuff(() => 0, 0, 1, 1)

Porter-Duff operator. The non-overlapping regions of source and destination are combined.

see

porterDuff

Functions

Const composeClear

Const porterDuff

  • porterDuff(f: Fn2<number, number, number>, x: 0 | 1, y: 0 | 1, z: 0 | 1): (Anonymous function)

Const porterDuffP

Generated using TypeDoc