Last change
on this file since 13810 was 13810, checked in by Don-vip, 6 years ago |
support rendering of IPrimitive
|
-
Property svn:eol-style
set to
native
|
File size:
861 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.osm.visitor.paint;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.data.Bounds;
|
---|
5 | import org.openstreetmap.josm.data.osm.OsmData;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * <p>An object which can render data provided by a {@link OsmData}.</p>
|
---|
9 | * @since 4087 (creation)
|
---|
10 | * @since 10600 (functional interface)
|
---|
11 | */
|
---|
12 | @FunctionalInterface
|
---|
13 | public interface Rendering {
|
---|
14 | /**
|
---|
15 | * <p>Renders the OSM data in {@code data}</p>
|
---|
16 | *
|
---|
17 | * @param data the data set to be rendered
|
---|
18 | * @param renderVirtualNodes if true, renders virtual nodes. Otherwise, ignores them.
|
---|
19 | * @param bbox the bounding box for the data to be rendered. Only objects within or intersecting
|
---|
20 | * with {@code bbox} are rendered
|
---|
21 | * @since 13810 (signature)
|
---|
22 | */
|
---|
23 | void render(OsmData<?, ?, ?, ?> data, boolean renderVirtualNodes, Bounds bbox);
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.