Uses of Class java.awt.geom.CubicCurve2D (Java Platform SE 8 )
Date: 2026-04-22

## Uses of Class
java.awt.geom.CubicCurve2D

- Packages that use CubicCurve2D
  Package | Description
  --- | ---
  java.awt.geom | Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.

- - ### Uses of CubicCurve2D in java.awt.geom

    Subclasses of CubicCurve2D in java.awt.geom
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CubicCurve2D.Double` A cubic parametric curve segment specified with `double` coordinates.
    `static class` | `CubicCurve2D.Float` A cubic parametric curve segment specified with `float` coordinates.

    Methods in java.awt.geom with parameters of type CubicCurve2D
    Modifier and Type | Method and Description
    --- | ---
    `void` | CubicCurve2D.`setCurve(CubicCurve2D c)` Sets the location of the end points and control points of this curve to the same as those in the specified `CubicCurve2D`.
    `void` | CubicCurve2D.`subdivide(CubicCurve2D left, CubicCurve2D right)` Subdivides this cubic curve and stores the resulting two subdivided curves into the left and right curve parameters.
    `static void` | CubicCurve2D.`subdivide(CubicCurve2D src, CubicCurve2D left, CubicCurve2D right)` Subdivides the cubic curve specified by the `src` parameter and stores the resulting two subdivided curves into the `left` and `right` curve parameters.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.