Class OrthogonalProjectionStrategy

java.lang.Object
org.eclipse.gef.fx.anchors.ProjectionStrategy
org.eclipse.gef.fx.anchors.OrthogonalProjectionStrategy
All Implemented Interfaces:
IComputationStrategy

public class OrthogonalProjectionStrategy extends ProjectionStrategy
An IComputationStrategy that computes anchor position by orthogonally projecting the respective anchored reference point to the outline of the anchorage reference geometry so that the respective point has minimal distance to the anchored reference point and resembles the same x- (vertical projection) or y-coordinate (horizontal projection).