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.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 |
IMutableOrientedRectangle
Interface for mutable oriented rectangles in 2D coordinate space with double precision coordinates.
|
interface |
IMutableRectangle
Interface for mutable rectangles aligned to the axes in 2D coordinate space with double precision coordinates.
|
interface |
IMutableSize
Interface for a mutable size in 2D coordinate space with double precision width and height.
|
interface |
IOrientedRectangle
Interface for oriented rectangles in 2D coordinate space with double precision coordinates.
|
interface |
IRectangle
Interface for 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 |
MutableSize
A simple default implementation of a mutable size in 2D coordinate space with double precision values.
|
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. |
class |
RectD
An immutable struct that models a rectangle in 2-d Cartesian coordinate space with double coordinates.
|
class |
SizeD
An immutable
ISize implementation to describe a size in two-dimensional space. |
Modifier and Type | Method and Description |
---|---|
ISize |
OrientedRectangle.getSize()
Returns the instance that stores the size of this rectangle.
|
ISize |
MutableRectangle.getSize()
Returns the instance that stores the size of this rectangle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MutableSize.equals(ISize other) |
default void |
IMutableRectangle.reshape(IPoint position,
ISize size)
Applies a new position and size to a given mutable rectangle.
|
default void |
IMutableSize.resize(ISize newSize)
Sets the coordinates of the size to the given values.
|
default void |
IMutableOrientedRectangle.resize(ISize size)
Sets the size of the rectangle to the provided value.
|
void |
OrientedRectangle.setSize(ISize value)
Returns the instance that stores the size of this rectangle.
|
void |
MutableRectangle.setSize(ISize value)
Returns the instance that stores the size of this rectangle.
|
Constructor and Description |
---|
MutableSize(ISize size)
Creates an instance using the values provided by the size instance.
|
SizeD(ISize size)
|
Modifier and Type | Method and Description |
---|---|
ISize |
ReshapeRectangleContext.getMaximumSize()
Gets the maximum size of the node.
|
ISize |
ReshapeHandlerHandle.getMaximumSize()
Gets the maximum size allowed for the reshapeable.
|
ISize |
RectangleHandle.getMaximumSize()
Gets the maximum size allowed for the reshapeable.
|
ISize |
NodeSizeConstraintProvider.getMaximumSize()
Gets the instance to return by
NodeSizeConstraintProvider.getMaximumSize(INode) . |
ISize |
AbstractReshapeHandleProvider.getMaximumSize()
Gets the maximum size allowed for the reshapeable.
|
ISize |
ReshapeRectangleContext.getMinimumSize()
Gets the minimum size of the node.
|
ISize |
ReshapeHandlerHandle.getMinimumSize()
Gets the minimum size allowed for the reshapeable.
|
ISize |
RectangleHandle.getMinimumSize()
Gets the minimum size allowed for the reshapeable.
|
ISize |
NodeSizeConstraintProvider.getMinimumSize()
Gets the instance to return by
NodeSizeConstraintProvider.getMinimumSize(INode) . |
ISize |
AbstractReshapeHandleProvider.getMinimumSize()
Gets the minimum size allowed for the reshapeable.
|
Modifier and Type | Method and Description |
---|---|
void |
ReshapeHandlerHandle.setMaximumSize(ISize value)
Sets the maximum size allowed for the reshapeable.
|
void |
RectangleHandle.setMaximumSize(ISize value)
Sets the maximum size allowed for the reshapeable.
|
void |
NodeSizeConstraintProvider.setMaximumSize(ISize value)
Sets the instance to return by
NodeSizeConstraintProvider.getMaximumSize(INode) . |
void |
AbstractReshapeHandleProvider.setMaximumSize(ISize value)
Sets the maximum size allowed for the reshapeable.
|
void |
ReshapeHandlerHandle.setMinimumSize(ISize value)
Sets the minimum size allowed for the reshapeable.
|
void |
RectangleHandle.setMinimumSize(ISize value)
Sets the minimum size allowed for the reshapeable.
|
void |
NodeSizeConstraintProvider.setMinimumSize(ISize value)
Sets the instance to return by
NodeSizeConstraintProvider.getMinimumSize(INode) . |
void |
AbstractReshapeHandleProvider.setMinimumSize(ISize value)
Sets the minimum size allowed for the reshapeable.
|
Constructor and Description |
---|
NodeSizeConstraintProvider(ISize minimumSize,
ISize maximumSize)
Creates a new instance using the provided size instances as the initial values.
|
NodeSizeConstraintProvider(ISize minimumSize,
ISize maximumSize,
IRectangle minimumEnclosedArea)
Creates a new instance using the provided size instances as the initial values.
|
ReshapeHandlerHandle(HandlePositions position,
IReshapeHandler reshapeHandler,
ISize minimumSize)
Subclass constructor that creates a handle for the given position using the location instance as the
Location
for the handle. |
ReshapeHandlerHandle(HandlePositions position,
IReshapeHandler reshapeHandler,
ISize minimumSize,
ISize maximumSize)
Subclass constructor that creates a handle for the given position using the location instance as the
Location
for the handle. |
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. |