public class TagColors extends Object implements ITagColors
TagColorsBuilder
.Constructor and Description |
---|
TagColors(Map<Integer,Color> tagColorMap)
Constructs the object based on the given map of tag-color mapping.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor(int tag)
Returns the color of the given tag or null if there is no color associated to that tag.
|
public Color getColor(int tag)
ITagColors
getColor
in interface ITagColors
tag
- the color to be queriedCopyright © 2014–2020, Printing in 3D. All rights reserved.