public static class ILspLabelConflictChecker.Conflict extends Object
Constructor and Description |
---|
Conflict(boolean aOutsideView,
boolean aPartiallyOutsideView,
boolean aOverlapWithBounds,
boolean aOverlapWithObstacles)
Create a new conflict with the given info.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isOutsideView()
Returns if the given bounds are completely outside the view.
|
boolean |
isOverlapWithObstacles()
Returns if the given bounds overlap with one or more obstacles.
|
boolean |
isOverlapWithPlacements()
Returns if the given bounds overlap with one or more other label placements.
|
boolean |
isPartiallyOutsideView()
Returns if the given bounds are partially outside the view.
|
public Conflict(boolean aOutsideView, boolean aPartiallyOutsideView, boolean aOverlapWithBounds, boolean aOverlapWithObstacles)
aOutsideView
- denotes that the given bounds are completely outside the view.aPartiallyOutsideView
- denotes that the given bounds are partially outside the view.aOverlapWithBounds
- denotes that the given bounds overlap with one or more other bounds.aOverlapWithObstacles
- denotes that the given bounds overlap with one or more obstacles.public boolean isOutsideView()
public boolean isPartiallyOutsideView()
public boolean isOverlapWithPlacements()
public boolean isOverlapWithObstacles()