public static class Filters.MaxValueFilter
extends java.lang.Object
implements squidpony.IFilter<com.badlogic.gdx.graphics.Color>
state
field. You probably want to set state to 0f before filtering a bunch of colors, if this is being used to find
the brightest color on the screen.Modifier and Type | Field and Description |
---|---|
float |
state |
Constructor and Description |
---|
MaxValueFilter() |
Modifier and Type | Method and Description |
---|---|
com.badlogic.gdx.graphics.Color |
alter(float r,
float g,
float b,
float a) |
Copyright © Eben Howard 2012–2022. All rights reserved.