Uses of Class
java.awt.geom.Dimension2D
| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
| java.awt.geom |
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
| javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
|
-
Uses of Dimension2D in java.awt
Subclasses of Dimension2D in java.awt Modifier and Type Class Description classDimensionTheDimensionclass encapsulates the width and height of a component (in integer precision) in a single object. -
Uses of Dimension2D in java.awt.geom
Methods in java.awt.geom with parameters of type Dimension2D Modifier and Type Method Description voidArc2D. setArc(Point2D loc, Dimension2D size, double angSt, double angExt, int closure)Sets the location, size, angular extents, and closure type of this arc to the specified values.voidRectangularShape. setFrame(Point2D loc, Dimension2D size)Sets the location and size of the framing rectangle of thisShapeto the specifiedPoint2DandDimension2D, respectively.voidDimension2D. setSize(Dimension2D d)Sets the size of thisDimension2Dobject to match the specified size. -
Uses of Dimension2D in javax.swing.plaf
Subclasses of Dimension2D in javax.swing.plaf Modifier and Type Class Description classDimensionUIResourceA subclass ofDimensionthat implementsUIResource.