# Package org.eclipse.draw2d.geometry

package org.eclipse.draw2d.geometry
Types representing or manipulating geometric values, such as Points, Dimensions, etc.

Related Packages
Package
Description
org.eclipse.draw2d
Primary package containing general interfaces and implementation classes.
org.eclipse.draw2d.graph
Stand-alone algorithms related to Graph Drawing.
org.eclipse.draw2d.parts
This package contains some complex parts used with Draw2d.
org.eclipse.draw2d.text
Figures and support classes related to the layout and rendering of rich text.
org.eclipse.draw2d.widgets
Custom SWT Controls which use figures internally.
Class
Description
Dimension
Stores an integer width and height.
Geometry
A Utilities class for geometry operations.
Insets
Stores four integers for top, left, bottom, and right measurements.
Interval
Represents interval in 1-dimensional space.
Point
Represents a point (x, y) in 2-dimensional space.
PointList
Represents a List of Points.
PrecisionDimension
PrecisionGeometry
A Utilities class for precise geometry calculations.
PrecisionPoint
PrecisionPointList
A PointList implementation using floating point values which are truncated into the inherited integer fields.
PrecisionRectangle
A Rectangle implementation using floating point values which are truncated into the inherited integer fields.
Ray
Deprecated, for removal: This API element is subject to removal in a future version.
Use `Vector` instead, which offers double precision instead of integer precision.
Rectangle
Represents a Rectangle(x, y, width, height).
Straight
Represents a straight line within 2-dimensional Euclidean space.
Transform
Provides support for transformations of scaling, translation and rotation.
Translatable
A translatable object can be translated (or moved) vertically and/or horizontally.
Transposer
Conditionally transposes geometrical objects based on an "enabled" flag.
Vector
Represents a vector within 2-dimensional Euclidean space.