Search
Preparing search index...
The search index is not available
image-q
Options
All
Public
Public/Protected
All
Inherited
Menu
image-q
utils
Point
Class Point
v8 optimized class
"constructor" should have initialization with worst types
"set" should have |0 / >>> 0
Hierarchy
Point
Implements
PointRGBA
Index
Constructors
constructor
Properties
a
b
g
r
rgba
uint32
Methods
from
get
Luminosity
create
By
Quadruplet
create
ByRGBA
create
By
Uint32
Constructors
constructor
new
Point
(
)
:
Point
Returns
Point
Properties
a
a
:
number
b
b
:
number
g
g
:
number
r
r
:
number
rgba
rgba
:
number
[]
uint32
uint32
:
number
Methods
from
from
(
point
:
Point
)
:
void
Parameters
point:
Point
Returns
void
get
Luminosity
get
Luminosity
(
useAlphaChannel
:
boolean
)
:
number
Parameters
useAlphaChannel:
boolean
Returns
number
Static
create
By
Quadruplet
create
By
Quadruplet
(
quadruplet
:
number
[]
)
:
Point
Parameters
quadruplet:
number
[]
Returns
Point
Static
create
ByRGBA
create
ByRGBA
(
red
:
number
, green
:
number
, blue
:
number
, alpha
:
number
)
:
Point
Parameters
red:
number
green:
number
blue:
number
alpha:
number
Returns
Point
Static
create
By
Uint32
create
By
Uint32
(
uint32
:
number
)
:
Point
Parameters
uint32:
number
Returns
Point
Exports
constants
conversion
distance
image
palette
quality
utils
arithmetic
Point
constructor
a
b
g
r
rgba
uint32
from
get
Luminosity
create
By
Quadruplet
create
ByRGBA
create
By
Uint32
Generated using
TypeDoc
v8 optimized class