Uses of Record Class
org.eclipse.draw2d.geometry.Interval
Packages that use Interval
Package
Description
Types representing or manipulating geometric values, such as Points, Dimensions, etc.
-
Uses of Interval in org.eclipse.draw2d.geometry
Fields in org.eclipse.draw2d.geometry declared as IntervalMethods in org.eclipse.draw2d.geometry that return IntervalModifier and TypeMethodDescriptionInterval.getCopy()
Returns a new Interval which has the exact same parameters as this Interval.Rectangle.getHorizontalInterval()
Returns a new Interval beginning at the x coordinate with the width as length.Interval.getIntersection
(Interval interval) Rectangle.getVerticalInterval()
Returns a new Interval beginning at the y coordinate with the height as length.Interval.growLeading
(int delta) Calculates a new interval where its leading direction has been increased by the givendelta
(ex., grow left for horizontal interval).Interval.growTrailing
(int delta) Calculates a new interval where its trailing direction has been increased by the givendelta
(ex., grow right for horizontal interval).Methods in org.eclipse.draw2d.geometry with parameters of type IntervalModifier and TypeMethodDescriptionInterval.getIntersection
(Interval interval) static int
Interval.getRightMostIntervalIndex
(Interval[] intervals, int value) We can use this method for example for span support.boolean
Interval.intersects
(Interval interval) boolean
Interval.isLeadingOf
(Interval interval) boolean
Interval.isTrailingOf
(Interval interval) Constructors in org.eclipse.draw2d.geometry with parameters of type Interval