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.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
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 |
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 |
RectD
An immutable struct that models a rectangle in 2-d Cartesian coordinate space with double coordinates.
|
Modifier and Type | Method and Description |
---|---|
default void |
IMutableRectangle.add(IRectangle rectangle2)
Adds a rectangle to another one.
|
void |
GeneralPath.appendEllipse(IRectangle bounds,
boolean connect)
Appends an ellipse using the given bounding box to this instance.
|
void |
GeneralPath.appendRectangle(IRectangle rectangle,
boolean connect)
Appends a rectangle to this path instance.
|
boolean |
MutableRectangle.equals(IRectangle other) |
default void |
IMutableRectangle.reshape(IRectangle newRectangle)
Applies a new position and size to a given mutable rectangle.
|
default void |
IMutableRectangle.setToUnion(IRectangle rectangle1,
IRectangle rectangle2)
Creates the union of two rectangles, placing the result in the this parameter.
|
Constructor and Description |
---|
MutableRectangle(IRectangle rectangle)
Creates a new instance initialized to the values of the provided argument.
|
OrientedRectangle(IRectangle rectangle)
Creates a new instance using the provided rectangle to initialize the anchor and size.
|
RectD(IRectangle rectangle)
Initializes a new instance of the
RectD struct with the initial values obtained from the given rectangle. |
Modifier and Type | Method and Description |
---|---|
IRectangle |
NodeReshapeHandler.getBounds() |
IRectangle |
Table.getLayout()
Gets the relative layout of the table.
|
IRectangle |
SimpleNode.getLayout() |
IRectangle |
ITable.getLayout()
Gets the relative layout of the table.
|
IRectangle |
IStripe.getLayout()
Returns a live view of the relative layout of the stripe.
|
IRectangle |
INode.getLayout()
Returns a live view of the layout of the node.
|
IRectangle |
FolderNodeState.getLayout()
The layout of the node.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleNode.setLayout(IRectangle value)
Returns a live view of the layout of the node.
|
void |
FolderNodeState.setLayout(IRectangle value)
The layout of the node.
|
Modifier and Type | Method and Description |
---|---|
IRectangle |
TemplateStripeStyleRenderer.getLayout()
Returns the
Layout of the stripe this renderer is currently configured for. |
IRectangle |
TemplateNodeStyleRenderer.getLayout()
Returns the
Layout of the node this renderer is currently configured for. |
IRectangle |
ShinyPlateNodeStyleRenderer.getLayout()
Returns the
Layout of the node this renderer is currently configured for. |
IRectangle |
ShapeNodeStyleRenderer.getLayout()
Returns the
Layout of the node this renderer is currently configured for. |
IRectangle |
PanelNodeStyleRenderer.getLayout()
Returns the
Layout of the node this renderer is currently configured for. |
IRectangle |
MemoryImageNodeStyleRenderer.getLayout()
Returns the
Layout of the node this renderer is currently configured for. |
IRectangle |
ImageNodeStyleRenderer.getLayout()
Returns the
Layout of the node this renderer is currently configured for. |
IRectangle |
GeneralPathNodeStyleRenderer.getLayout()
Returns the
Layout of the node this renderer is currently configured for. |
IRectangle |
CollapsibleNodeStyleDecoratorRenderer.getLayout()
Returns the
Layout of the node this renderer is currently configured for. |
IRectangle |
BevelNodeStyleRenderer.getLayout()
Returns the
Layout of the node this renderer is currently configured for. |
Modifier and Type | Method and Description |
---|---|
protected IRectangle |
RectangleIndicatorInstaller.getRectangle(Object userObject)
Factory method that returns an
IRectangle for a given user object. |
Modifier and Type | Method and Description |
---|---|
static IAnimation |
IAnimation.createNodeAnimation(IGraph graph,
INode node,
IRectangle targetLayout,
Duration preferredDuration)
Creates a new
IAnimation that animates the given node from its current layout to the new given
targetLayout . |
static IBoundsProvider |
IBoundsProvider.fromRectangle(IRectangle bounds)
Creates an instance that returns the given model as the bounds.
|
Modifier and Type | Method and Description |
---|---|
static IAnimation |
IAnimation.createGraphAnimation(IGraph graph,
IMapper<INode,IRectangle> targetNodeLayouts,
IMapper<IEdge,IPoint[]> targetBendLocations,
IMapper<IPort,IPortLocationModelParameter> targetPortLocations,
IMapper<ILabel,ILabelModelParameter> targetLayoutParameters,
Duration preferredDuration)
Creates a new
IAnimation that animates the given layout of all types of graph items. |
Constructor and Description |
---|
RectangleIndicatorInstaller(IRectangle fixedBounds)
Initializes a new instance of the
RectangleIndicatorInstaller class with fixed bounds and a
ResourceKey . |
RectangleIndicatorInstaller(IRectangle fixedBounds,
ResourceKey resourceKey)
Initializes a new instance of the
RectangleIndicatorInstaller class with fixed bounds and a
ResourceKey . |
Modifier and Type | Method and Description |
---|---|
IRectangle |
TableReshapeHandler.getBounds() |
IRectangle |
IReshapeHandler.getBounds()
Returns a view of the bounds of the item.
|
IRectangle |
ConstrainedReshapeHandler.getBounds()
Delegates to the
WrappedHandler 's Bounds property. |
IRectangle |
ReshapeRectangleContext.getMinimumEnclosedArea()
Gets minimum area the node's layout needs to encompass.
|
IRectangle |
ReshapeHandlerHandle.getMinimumEnclosedArea()
Gets the minimum enclosed area that needs to be encompassed by this reshapeable.
|
IRectangle |
RectangleHandle.getMinimumEnclosedArea()
Gets the minimum enclosed area that needs to be encompassed by this reshapeable.
|
IRectangle |
NodeSizeConstraintProvider.getMinimumEnclosedArea()
Gets the instance to return by
NodeSizeConstraintProvider.getMinimumEnclosedArea(INode) . |
IRectangle |
AbstractReshapeHandleProvider.getMinimumEnclosedArea()
Gets the minimum rectangular area that needs to be contained in the reshapeable.
|
Modifier and Type | Method and Description |
---|---|
void |
ReshapeHandlerHandle.setMinimumEnclosedArea(IRectangle value)
Sets the minimum enclosed area that needs to be encompassed by this reshapeable.
|
void |
RectangleHandle.setMinimumEnclosedArea(IRectangle value)
Sets the minimum enclosed area that needs to be encompassed by this reshapeable.
|
void |
NodeSizeConstraintProvider.setMinimumEnclosedArea(IRectangle value)
Sets the instance to return by
NodeSizeConstraintProvider.getMinimumEnclosedArea(INode) . |
void |
AbstractReshapeHandleProvider.setMinimumEnclosedArea(IRectangle value)
Sets the minimum rectangular area that needs to be contained in the reshapeable.
|
Modifier and Type | Method and Description |
---|---|
static SnapResult |
SnapResult.createResizeSnapResult(double weight,
double delta,
Object tag,
Iterable<IRectangle> rectangles,
double size,
boolean horizontal)
Factory method that creates a
SnapResult which snaps to a given size through a resize operation. |
Constructor and Description |
---|
NodeSizeConstraintProvider(ISize minimumSize,
ISize maximumSize,
IRectangle minimumEnclosedArea)
Creates a new instance using the provided size instances as the initial values.
|
ReshapeRectangleContext(RectD initialBounds,
ISize minimumSize,
ISize maximumSize,
IRectangle minimumEnclosedArea,
HandlePositions reshapePosition,
PointD topLeftChangeFactor,
PointD bottomRightChangeFactor,
SizeD sizeChangeFactor)
Initializes a new instance of the
ReshapeRectangleContext class. |