Package | Description |
---|---|
com.yworks.yfiles.geometry |
Contains definitions, default implementations, structs and support classes that deal with the representation of geometric data.
|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Interface and Description |
---|---|
interface |
IMutableRectangle
Interface for mutable rectangles aligned to the axes in 2D coordinate space with double precision coordinates.
|
Modifier and Type | Class and Description |
---|---|
class |
MutablePoint
A simple default implementation of a mutable point in 2D coordinate space with double precision coordinates.
|
class |
MutableRectangle
A simple default implementation of a mutable rectangle in 2D coordinate space with double precision values stored in an
instance of
IMutablePoint and IMutableSize . |
class |
OrientedRectangle
A simple default implementation of a mutable oriented rectangle in 2D coordinate space with double precision values
stored in an instance of
IMutablePoint and IMutableSize as well as two doubles for the up vector
components. |
Modifier and Type | Method and Description |
---|---|
<T extends IMutablePoint> |
Matrix2D.transform(T point)
Transforms the given point in place.
|
Modifier and Type | Method and Description |
---|---|
IMutablePoint |
MutableRectangle.getDynamicCenter()
Create a dynamic
IMutablePoint implementation
that always points to the center of the given rectangle. |
default IMutablePoint |
IMutableRectangle.getDynamicCenter()
Create a dynamic
IMutablePoint implementation that always points to the center of the given rectangle. |
IMutablePoint |
PointD.toMutablePoint()
Creates an
IMutablePoint that has the same coordinates as this struct. |
Constructor and Description |
---|
MutableRectangle(IMutablePoint location,
IMutableSize size)
Creates a new instance using the provided implementation for the storage of the position and size of the rectangle.
|
OrientedRectangle(IMutablePoint anchor,
IMutableSize size)
Creates a new instance using the provided values to initialize the anchor and size.
|
Modifier and Type | Method and Description |
---|---|
static IAnimation |
IAnimation.createPathAnimation(GeneralPath path,
IMutablePoint animationPoint,
Duration preferredDuration)
Creates a new instance of an
IAnimation that animates the given IMutablePoint along a path. |
Modifier and Type | Class and Description |
---|---|
class |
RectangleHandle
A more sophisticated
IHandle implementation that modifies a rectangle. |
Modifier and Type | Method and Description |
---|---|
IHandle |
HandleInputMode.addHandle(IMutablePoint location)
Factory method that creates and
adds a handle to this mode by wrapping a given IMutablePoint
instance. |
IHandle |
HandleInputMode.addHandle(IMutablePoint location,
Cursor cursor)
Factory method that creates and
adds a handle to this mode by wrapping a given IMutablePoint
instance. |
IHandle |
HandleInputMode.addHandle(IMutablePoint location,
Cursor cursor,
HandleTypes type)
Factory method that creates and
adds a handle to this mode by wrapping a given IMutablePoint
instance. |
boolean |
IGridConstraintProvider.snapToGrid(IInputModeContext context,
T item,
IMutablePoint location,
SnapPolicy xSnapPolicy,
SnapPolicy ySnapPolicy)
Performs the actual snapping to grid coordinates.
|
boolean |
GridConstraintProvider.snapToGrid(IInputModeContext context,
T item,
IMutablePoint location,
SnapPolicy xSnapPolicy,
SnapPolicy ySnapPolicy) |