Package java.awt.geom
See: Description
-
Interface Summary Interface Description PathIterator ThePathIteratorinterface provides the mechanism for objects that implement theShapeinterface to return the geometry of their boundary by allowing a caller to retrieve the path of that boundary a segment at a time. -
Class Summary Class Description AffineTransform TheAffineTransformclass represents a 2D affine transform that performs a linear mapping from 2D coordinates to other 2D coordinates that preserves the "straightness" and "parallelness" of lines.Arc2D Arc2Dis the abstract superclass for all objects that store a 2D arc defined by a framing rectangle, start angle, angular extent (length of the arc), and a closure type (OPEN,CHORD, orPIE).Arc2D.Double This class defines an arc specified indoubleprecision.Arc2D.Float This class defines an arc specified infloatprecision.Area AnAreaobject stores and manipulates a resolution-independent description of an enclosed area of 2-dimensional space.CubicCurve2D TheCubicCurve2Dclass defines a cubic parametric curve segment in(x,y)coordinate space.CubicCurve2D.Double A cubic parametric curve segment specified withdoublecoordinates.CubicCurve2D.Float A cubic parametric curve segment specified withfloatcoordinates.Dimension2D TheDimension2Dclass is to encapsulate a width and a height dimension.Ellipse2D TheEllipse2Dclass describes an ellipse that is defined by a framing rectangle.Ellipse2D.Double TheDoubleclass defines an ellipse specified indoubleprecision.Ellipse2D.Float TheFloatclass defines an ellipse specified infloatprecision.FlatteningPathIterator TheFlatteningPathIteratorclass returns a flattened view of anotherPathIteratorobject.GeneralPath TheGeneralPathclass represents a geometric path constructed from straight lines, and quadratic and cubic (Bézier) curves.Line2D ThisLine2Drepresents a line segment in(x,y)coordinate space.Line2D.Double A line segment specified with double coordinates.Line2D.Float A line segment specified with float coordinates.Path2D ThePath2Dclass provides a simple, yet flexible shape which represents an arbitrary geometric path.Path2D.Double TheDoubleclass defines a geometric path with coordinates stored in double precision floating point.Path2D.Float TheFloatclass defines a geometric path with coordinates stored in single precision floating point.Point2D ThePoint2Dclass defines a point representing a location in(x,y)coordinate space.Point2D.Double TheDoubleclass defines a point specified indoubleprecision.Point2D.Float TheFloatclass defines a point specified in float precision.QuadCurve2D TheQuadCurve2Dclass defines a quadratic parametric curve segment in(x,y)coordinate space.QuadCurve2D.Double A quadratic parametric curve segment specified withdoublecoordinates.QuadCurve2D.Float A quadratic parametric curve segment specified withfloatcoordinates.Rectangle2D TheRectangle2Dclass describes a rectangle defined by a location(x,y)and dimension(w x h).Rectangle2D.Double TheDoubleclass defines a rectangle specified in double coordinates.Rectangle2D.Float TheFloatclass defines a rectangle specified in float coordinates.RectangularShape RectangularShapeis the base class for a number ofShapeobjects whose geometry is defined by a rectangular frame.RoundRectangle2D TheRoundRectangle2Dclass defines a rectangle with rounded corners defined by a location(x,y), a dimension(w x h), and the width and height of an arc with which to round the corners.RoundRectangle2D.Double TheDoubleclass defines a rectangle with rounded corners all specified indoublecoordinates.RoundRectangle2D.Float TheFloatclass defines a rectangle with rounded corners all specified infloatcoordinates. -
Exception Summary Exception Description IllegalPathStateException TheIllegalPathStateExceptionrepresents an exception that is thrown if an operation is performed on a path that is in an illegal state with respect to the particular operation being performed, such as appending a path segment to aGeneralPathwithout an initial moveto.NoninvertibleTransformException TheNoninvertibleTransformExceptionclass represents an exception that is thrown if an operation is performed requiring the inverse of anAffineTransformobject but theAffineTransformis in a non-invertible state.
Package java.awt.geom Description
- classes for manipulating geometry, such as AffineTransform and the PathIterator interface which is implemented by all Shape objects.
- classes that implement the Shape interface, such as CubicCurve2D, Ellipse2D, Line2D, Rectangle2D, and GeneralShape.
- the Area class which provides mechanisms for add (union), subtract, intersect, and exclusiveOR operations on other Shape objects.
- Since:
- 1.2
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
04/10/2025 21:12:45 Cette version de la page est en cache (à la date du 04/10/2025 21:12:45) afin d'accélérer le traitement.Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.
Document créé le 30/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-java/awt/geom/package-summary.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.