public interface Style
Note it is essential that Style implementations provide implementations
of equals()
(and hence also of hashCode()
)
for which equality means that styles look the same as each other.
An equals
implementation based on identity (inherited
from the behaviour of Object
) will lead to poor performance
of the plotting classes.
Modifier and Type | Method and Description |
---|---|
Icon |
getLegendIcon()
Returns an icon suitable for displaying in a legend for this style.
|
Icon getLegendIcon()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.