public static class Compositor.BoostCompositor extends Compositor
Compositor.SATURATION except that any pixel with a
non-zero alpha has its alpha value boosted to a given minimum.
The effect is that even very slightly populated pixels can be
visually distinguished from unpopulated pixels, which is not the
case for standard saturation composition.Compositor.BoostCompositor, Compositor.BufferSATURATION| Constructor and Description |
|---|
BoostCompositor(float boost)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Compositor.Buffer |
createBuffer(int count)
Creates a buffer on which compositing operations can be performed.
|
float |
getBoost()
Returns the boost value for this compositor.
|
float |
scaleAlpha(float alpha)
Adjusts an alpha value in accordance with this compositor's policy.
|
byteToFloat, floatToByte, srcOverOpaquepublic BoostCompositor(float boost)
Compositor.SATURATION.boost - minimum alpha output for non-empty pixelpublic Compositor.Buffer createBuffer(int count)
CompositorcreateBuffer in class Compositorcount - number of pixel elements in bufferpublic float scaleAlpha(float alpha)
CompositorscaleAlpha in class Compositoralpha - input alpha in range 0-1public float getBoost()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.