Search this API

y.view
Class MoveSnapContext.MovingSegment

java.lang.Object
  extended by y.view.MoveSnapContext.MovingSegment
Enclosing class:
MoveSnapContext

public static final class MoveSnapContext.MovingSegment
extends java.lang.Object

A helper class that describes a moving segment. A segment consists of two MoveSnapContext.MovingInfos that describe the movement of the two segment end points.

 
Your browser does not support SVG content.

Constructor Summary
MoveSnapContext.MovingSegment(MoveSnapContext.MovingInfo segStart, MoveSnapContext.MovingInfo segEnd)
          Creates a new instance of this class using the two given end points.
 
Method Summary
 MoveSnapContext.MovingInfo getSegEnd()
          The end point of the segment.
 MoveSnapContext.MovingInfo getSegStart()
          The start point of the segment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveSnapContext.MovingSegment

public MoveSnapContext.MovingSegment(MoveSnapContext.MovingInfo segStart,
                                     MoveSnapContext.MovingInfo segEnd)
Creates a new instance of this class using the two given end points.

Parameters:
segStart - The first end point of the segment.
segEnd - The second end point of the segment.
Method Detail

getSegEnd

public MoveSnapContext.MovingInfo getSegEnd()
The end point of the segment.


getSegStart

public MoveSnapContext.MovingInfo getSegStart()
The start point of the segment.


© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.