public interface SurfaceRenderable extends Renderable
SurfaceShape. SurfaceRenderable extends the Renderable interface by adding an interface for determining the geographic region that bounds the renderable, and an interface for determining when the renderable has changed.
|Modifier and Type||Method and Description|
Returns a list of sectors indicating the geographic region that bounds this renderable for the specified draw context.
Returns an object that uniquely identifies this renderable's state for the specified draw context.
java.util.List<Sector> getSectors(DrawContext dc)
dc- the draw context for which to determine this renderable's geographic bounds.
java.lang.Object getStateKey(DrawContext dc)
Object.equals(Object)in order to determine whether or not a renderable has changed. The returned object is guaranteed to be globally unique with respect to other SurfaceRenderable state keys; an equality test with a state key from another renderable always returns false.
dc- the draw context for which to determine this renderable's current state.