public static class FloatFilters.DistinctRedGreenFilter extends FloatFilter
Constructor and Description |
---|
DistinctRedGreenFilter()
Constructs a DistinctRedGreenFilter.
|
Modifier and Type | Method and Description |
---|---|
float |
alter(float color)
Takes a packed float color and produces a potentially-different packed float color that this FloatFilter edited.
|
alter
public DistinctRedGreenFilter()
public float alter(float color)
alter
in class FloatFilter
color
- a packed float color, as produced by Color.toFloatBits()
Color.toFloatBits()
Copyright © Eben Howard 2012–2022. All rights reserved.