Pixel Data JS - v0.28.0
Preparing search index...
makeFullPixelMutator
Function makeFullPixelMutator
makeFullPixelMutator
(
writer
:
PixelWriter
<
any
>
,
)
:
{
applyAlphaMask
(
mask
:
AlphaMask
,
opts
?:
ApplyMaskToPixelDataOptions
,
)
:
boolean
;
applyBinaryMask
(
mask
:
BinaryMask
,
opts
?:
ApplyMaskToPixelDataOptions
,
)
:
boolean
;
applyMask
(
mask
:
Mask
,
opts
?:
ApplyMaskToPixelDataOptions
)
:
boolean
;
blendAlphaMask
(
src
:
PixelData32
,
mask
:
AlphaMask
,
opts
?:
PixelBlendMaskOptions
,
)
:
boolean
;
blendBinaryMask
(
src
:
PixelData32
,
mask
:
BinaryMask
,
opts
?:
PixelBlendMaskOptions
,
)
:
boolean
;
blendColor
(
color
:
Color32
,
opts
?:
ColorBlendOptions
)
:
boolean
;
blendColorPaintAlphaMask
(
color
:
Color32
,
mask
:
PaintAlphaMask
,
x
:
number
,
y
:
number
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendColorPaintBinaryMask
(
color
:
Color32
,
mask
:
PaintBinaryMask
,
x
:
number
,
y
:
number
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendColorPaintMask
(
color
:
Color32
,
mask
:
PaintMask
,
x
:
number
,
y
:
number
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendColorPaintRect
(
color
:
Color32
,
centerX
:
number
,
centerY
:
number
,
brushWidth
:
number
,
brushHeight
:
number
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendMask
(
src
:
PixelData32
,
mask
:
Mask
,
opts
?:
PixelBlendMaskOptions
,
)
:
boolean
;
blendPixel
(
x
:
number
,
y
:
number
,
color
:
Color32
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendPixelData
(
src
:
PixelData32
,
opts
?:
PixelBlendOptions
)
:
boolean
;
clear
(
rect
?:
Partial
<
Rect
>
)
:
boolean
;
fill
(
color
:
Color32
,
x
?:
number
,
y
?:
number
,
w
?:
number
,
h
?:
number
,
)
:
boolean
;
fillBinaryMask
(
color
:
Color32
,
mask
:
BinaryMask
,
x
?:
number
,
y
?:
number
,
)
:
boolean
;
fillRect
(
color
:
Color32
,
rect
:
Rect
)
:
boolean
;
invert
(
opts
?:
PixelMutateOptions
)
:
boolean
;
}
Parameters
writer
:
PixelWriter
<
any
>
Returns
{
applyAlphaMask
(
mask
:
AlphaMask
,
opts
?:
ApplyMaskToPixelDataOptions
,
)
:
boolean
;
applyBinaryMask
(
mask
:
BinaryMask
,
opts
?:
ApplyMaskToPixelDataOptions
,
)
:
boolean
;
applyMask
(
mask
:
Mask
,
opts
?:
ApplyMaskToPixelDataOptions
)
:
boolean
;
blendAlphaMask
(
src
:
PixelData32
,
mask
:
AlphaMask
,
opts
?:
PixelBlendMaskOptions
,
)
:
boolean
;
blendBinaryMask
(
src
:
PixelData32
,
mask
:
BinaryMask
,
opts
?:
PixelBlendMaskOptions
,
)
:
boolean
;
blendColor
(
color
:
Color32
,
opts
?:
ColorBlendOptions
)
:
boolean
;
blendColorPaintAlphaMask
(
color
:
Color32
,
mask
:
PaintAlphaMask
,
x
:
number
,
y
:
number
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendColorPaintBinaryMask
(
color
:
Color32
,
mask
:
PaintBinaryMask
,
x
:
number
,
y
:
number
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendColorPaintMask
(
color
:
Color32
,
mask
:
PaintMask
,
x
:
number
,
y
:
number
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendColorPaintRect
(
color
:
Color32
,
centerX
:
number
,
centerY
:
number
,
brushWidth
:
number
,
brushHeight
:
number
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendMask
(
src
:
PixelData32
,
mask
:
Mask
,
opts
?:
PixelBlendMaskOptions
,
)
:
boolean
;
blendPixel
(
x
:
number
,
y
:
number
,
color
:
Color32
,
alpha
?:
number
,
blendFn
?:
BlendColor32
,
)
:
boolean
;
blendPixelData
(
src
:
PixelData32
,
opts
?:
PixelBlendOptions
)
:
boolean
;
clear
(
rect
?:
Partial
<
Rect
>
)
:
boolean
;
fill
(
color
:
Color32
,
x
?:
number
,
y
?:
number
,
w
?:
number
,
h
?:
number
,
)
:
boolean
;
fillBinaryMask
(
color
:
Color32
,
mask
:
BinaryMask
,
x
?:
number
,
y
?:
number
,
)
:
boolean
;
fillRect
(
color
:
Color32
,
rect
:
Rect
)
:
boolean
;
invert
(
opts
?:
PixelMutateOptions
)
:
boolean
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Pixel Data JS - v0.28.0
Loading...