Package | Description |
---|---|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
Modifier and Type | Method and Description |
---|---|
static RowAlignment |
RowAlignment.fromOrdinal(int ordinal) |
static RowAlignment |
RowAlignment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RowAlignment[] |
RowAlignment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static int |
LayoutGraphUtilities.arrangeRectangleMultiRows(Rectangle2D[] rectangles,
Rectangle2D finalRect,
double preferredWidth,
double preferredHeight,
boolean compaction,
MultiRowConstraint constraintMode,
RowAlignment alignment)
Reassigns the bounds of the rectangles in multiple rows to fit the preferred width and height.
|
static int |
LayoutGraphUtilities.arrangeRectangleRows(Rectangle2D[] rectangles,
Rectangle2D finalRect,
double aspectRatio,
RowAlignment alignment)
Reassigns the bounds of the rectangles to fit in a large rectangle with an aspect ratio close to the specified aspect
ratio.
|