Java™ Platform
Standard Ed. 6

Uses of Class
java.awt.geom.Dimension2D

Packages that use Dimension2D
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
 class Dimension
          The Dimension class 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
 void Arc2D.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.
 void RectangularShape.setFrame(Point2D loc, Dimension2D size)
          Sets the location and size of the framing rectangle of this Shape to the specified Point2D and Dimension2D, respectively.
 void Dimension2D.setSize(Dimension2D d)
          Sets the size of this Dimension2D object to match the specified size.
 

Uses of Dimension2D in javax.swing.plaf
 

Subclasses of Dimension2D in javax.swing.plaf
 class DimensionUIResource
           
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.