Options
All
  • Public
  • Public/Protected
  • All
Menu

v8 optimized class

  1. "constructor" should have initialization with worst types
  2. "set" should have |0 / >>> 0

Hierarchy

  • Point

Implements

  • PointRGBA

Index

Constructors

constructor

Properties

a

a: number

b

b: number

g

g: number

r

r: number

rgba

rgba: number[]

uint32

uint32: number

Methods

from

getLuminosity

  • getLuminosity(useAlphaChannel: boolean): number

Static createByQuadruplet

  • createByQuadruplet(quadruplet: number[]): Point

Static createByRGBA

  • createByRGBA(red: number, green: number, blue: number, alpha: number): Point

Static createByUint32

  • createByUint32(uint32: number): Point

Generated using TypeDoc