public interface PathCombiner
Paths into one Path.| Modifier and Type | Field and Description |
|---|---|
static PathCombiner |
APPEND
This combiner uses
Path.append(Path) to combine its paths. |
static PathCombiner |
SECOND
This combiner always discards the first path and just returns the second.
|
static PathCombiner |
UNIQUE
This combiner uses
Path.uniqueAppend(Path) to combine its paths. |
| Modifier and Type | Method and Description |
|---|---|
Path |
combine(Path first,
Path second)
Creates a combination of
first and of second. |
static final PathCombiner APPEND
Path.append(Path) to combine its paths.static final PathCombiner UNIQUE
Path.uniqueAppend(Path) to combine its paths.static final PathCombiner SECOND
Path combine(Path first, Path second)
first and of second. It
is up to this combiner how the combination looks. This method must respect
only one condition: combine( x, y ) = combine( x, y )
must be true for all times.first - the first part of the path, not nullsecond - the second part of the path, not nullnullCopyright © 2017 Docking Frames. All rights reserved.