public final class Anchor.Result
extends java.lang.Object
| Constructor | Description |
|---|---|
Result(java.awt.Point anchorSceneLocation,
java.util.EnumSet<Anchor.Direction> directions) |
Creates a result with calculated scene location and possible directions.
|
Result(java.awt.Point anchorSceneLocation,
Anchor.Direction direction) |
Creates a result with calculated scene location and single direction.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Point |
getAnchorSceneLocation() |
Returns a scene location of an anchor.
|
java.util.EnumSet<Anchor.Direction> |
getDirections() |
Returns possible directions of an anchor.
|
public Result(java.awt.Point anchorSceneLocation,
Anchor.Direction direction)
anchorSceneLocation - the scene location of an anchordirection - the single direction of an anchorpublic Result(java.awt.Point anchorSceneLocation,
java.util.EnumSet<Anchor.Direction> directions)
anchorSceneLocation - the scene location of an anchordirections - the possible directions of an anchorpublic java.awt.Point getAnchorSceneLocation()
public java.util.EnumSet<Anchor.Direction> getDirections()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.