Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

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. 
 

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 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 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 Dimension2D.setSize(Dimension2D d)
          Sets the size of this Dimension2D object to match the specified size.
 


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.