Package | Description |
---|---|
com.yworks.yfiles.geometry |
Contains definitions, default implementations, structs and support classes that deal with the representation of geometric data.
|
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.
|
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. |
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.
|