Liking cljdoc? Tell your friends :D

jdk.awt.geom.CubicCurve2D$Float

A cubic parametric curve segment specified with float coordinates.

A cubic parametric curve segment specified with
float coordinates.
raw docstring

->floatclj

(->float)
(->float x-1 y-1 ctrlx-1 ctrly-1 ctrlx-2 ctrly-2 x-2 y-2)

Constructor.

Constructs and initializes a CubicCurve2D from the specified float coordinates.

x-1 - the X coordinate for the start point of the resulting CubicCurve2D - float y-1 - the Y coordinate for the start point of the resulting CubicCurve2D - float ctrlx-1 - the X coordinate for the first control point of the resulting CubicCurve2D - float ctrly-1 - the Y coordinate for the first control point of the resulting CubicCurve2D - float ctrlx-2 - the X coordinate for the second control point of the resulting CubicCurve2D - float ctrly-2 - the Y coordinate for the second control point of the resulting CubicCurve2D - float x-2 - the X coordinate for the end point of the resulting CubicCurve2D - float y-2 - the Y coordinate for the end point of the resulting CubicCurve2D - float

Constructor.

Constructs and initializes a CubicCurve2D from
 the specified float coordinates.

x-1 - the X coordinate for the start point of the resulting CubicCurve2D - `float`
y-1 - the Y coordinate for the start point of the resulting CubicCurve2D - `float`
ctrlx-1 - the X coordinate for the first control point of the resulting CubicCurve2D - `float`
ctrly-1 - the Y coordinate for the first control point of the resulting CubicCurve2D - `float`
ctrlx-2 - the X coordinate for the second control point of the resulting CubicCurve2D - `float`
ctrly-2 - the Y coordinate for the second control point of the resulting CubicCurve2D - `float`
x-2 - the X coordinate for the end point of the resulting CubicCurve2D - `float`
y-2 - the Y coordinate for the end point of the resulting CubicCurve2D - `float`
raw docstring

ctrlx-1clj

(ctrlx-1 this)

Instance Field.

The X coordinate of the first control point of the cubic curve segment.

type: float

Instance Field.

The X coordinate of the first control point
 of the cubic curve segment.

type: float
raw docstring

ctrlx-2clj

(ctrlx-2 this)

Instance Field.

The X coordinate of the second control point of the cubic curve segment.

type: float

Instance Field.

The X coordinate of the second control point
 of the cubic curve segment.

type: float
raw docstring

ctrly-1clj

(ctrly-1 this)

Instance Field.

The Y coordinate of the first control point of the cubic curve segment.

type: float

Instance Field.

The Y coordinate of the first control point
 of the cubic curve segment.

type: float
raw docstring

ctrly-2clj

(ctrly-2 this)

Instance Field.

The Y coordinate of the second control point of the cubic curve segment.

type: float

Instance Field.

The Y coordinate of the second control point
 of the cubic curve segment.

type: float
raw docstring

get-bounds-2-dclj

(get-bounds-2-d this)

Returns a high precision and more accurate bounding box of the Shape than the getBounds method. Note that there is no guarantee that the returned Rectangle2D is the smallest bounding box that encloses the Shape, only that the Shape lies entirely within the indicated Rectangle2D. The bounding box returned by this method is usually tighter than that returned by the getBounds method and never fails due to overflow problems since the return value can be an instance of the Rectangle2D that uses double precision values to store the dimensions.

Note that the definition of insideness can lead to situations where points on the defining outline of the shape may not be considered contained in the returned bounds object, but only in cases where those points are also not considered contained in the original shape.

If a point is inside the shape according to the contains(point) method, then it must be inside the returned Rectangle2D bounds object according to the contains(point) method of the bounds. Specifically:

shape.contains(p) requires bounds.contains(p)

If a point is not inside the shape, then it might still be contained in the bounds object:

bounds.contains(p) does not imply shape.contains(p)

returns: an instance of Rectangle2D that is a high-precision bounding box of the Shape. - java.awt.geom.Rectangle2D

Returns a high precision and more accurate bounding box of
 the Shape than the getBounds method.
 Note that there is no guarantee that the returned
 Rectangle2D is the smallest bounding box that encloses
 the Shape, only that the Shape lies
 entirely within the indicated Rectangle2D.  The
 bounding box returned by this method is usually tighter than that
 returned by the getBounds method and never fails due
 to overflow problems since the return value can be an instance of
 the Rectangle2D that uses double precision values to
 store the dimensions.


 Note that the
 definition of insideness can lead to situations where points
 on the defining outline of the shape may not be considered
 contained in the returned bounds object, but only in cases
 where those points are also not considered contained in the original
 shape.


 If a point is inside the shape according to the
 contains(point) method, then it must
 be inside the returned Rectangle2D bounds object according
 to the contains(point) method of the
 bounds. Specifically:


  shape.contains(p) requires bounds.contains(p)


 If a point is not inside the shape, then it might
 still be contained in the bounds object:


  bounds.contains(p) does not imply shape.contains(p)

returns: an instance of Rectangle2D that is a
                 high-precision bounding box of the Shape. - `java.awt.geom.Rectangle2D`
raw docstring

get-ctrl-p-1clj

(get-ctrl-p-1 this)

Returns the first control point.

returns: a Point2D that is the first control point of the CubicCurve2D. - java.awt.geom.Point2D

Returns the first control point.

returns: a Point2D that is the first control point of
         the CubicCurve2D. - `java.awt.geom.Point2D`
raw docstring

get-ctrl-p-2clj

(get-ctrl-p-2 this)

Returns the second control point.

returns: a Point2D that is the second control point of the CubicCurve2D. - java.awt.geom.Point2D

Returns the second control point.

returns: a Point2D that is the second control point of
         the CubicCurve2D. - `java.awt.geom.Point2D`
raw docstring

get-ctrl-x-1clj

(get-ctrl-x-1 this)

Returns the X coordinate of the first control point in double precision.

returns: the X coordinate of the first control point of the CubicCurve2D. - double

Returns the X coordinate of the first control point in double precision.

returns: the X coordinate of the first control point of the
         CubicCurve2D. - `double`
raw docstring

get-ctrl-x-2clj

(get-ctrl-x-2 this)

Returns the X coordinate of the second control point in double precision.

returns: the X coordinate of the second control point of the CubicCurve2D. - double

Returns the X coordinate of the second control point
 in double precision.

returns: the X coordinate of the second control point of the
         CubicCurve2D. - `double`
raw docstring

get-ctrl-y-1clj

(get-ctrl-y-1 this)

Returns the Y coordinate of the first control point in double precision.

returns: the Y coordinate of the first control point of the CubicCurve2D. - double

Returns the Y coordinate of the first control point in double precision.

returns: the Y coordinate of the first control point of the
         CubicCurve2D. - `double`
raw docstring

get-ctrl-y-2clj

(get-ctrl-y-2 this)

Returns the Y coordinate of the second control point in double precision.

returns: the Y coordinate of the second control point of the CubicCurve2D. - double

Returns the Y coordinate of the second control point
 in double precision.

returns: the Y coordinate of the second control point of the
         CubicCurve2D. - `double`
raw docstring

get-p-1clj

(get-p-1 this)

Returns the start point.

returns: a Point2D that is the start point of the CubicCurve2D. - java.awt.geom.Point2D

Returns the start point.

returns: a Point2D that is the start point of
         the CubicCurve2D. - `java.awt.geom.Point2D`
raw docstring

get-p-2clj

(get-p-2 this)

Returns the end point.

returns: a Point2D that is the end point of the CubicCurve2D. - java.awt.geom.Point2D

Returns the end point.

returns: a Point2D that is the end point of
         the CubicCurve2D. - `java.awt.geom.Point2D`
raw docstring

get-x-1clj

(get-x-1 this)

Returns the X coordinate of the start point in double precision.

returns: the X coordinate of the start point of the CubicCurve2D. - double

Returns the X coordinate of the start point in double precision.

returns: the X coordinate of the start point of the
         CubicCurve2D. - `double`
raw docstring

get-x-2clj

(get-x-2 this)

Returns the X coordinate of the end point in double precision.

returns: the X coordinate of the end point of the CubicCurve2D. - double

Returns the X coordinate of the end point in double precision.

returns: the X coordinate of the end point of the
         CubicCurve2D. - `double`
raw docstring

get-y-1clj

(get-y-1 this)

Returns the Y coordinate of the start point in double precision.

returns: the Y coordinate of the start point of the CubicCurve2D. - double

Returns the Y coordinate of the start point in double precision.

returns: the Y coordinate of the start point of the
         CubicCurve2D. - `double`
raw docstring

get-y-2clj

(get-y-2 this)

Returns the Y coordinate of the end point in double precision.

returns: the Y coordinate of the end point of the CubicCurve2D. - double

Returns the Y coordinate of the end point in double precision.

returns: the Y coordinate of the end point of the
         CubicCurve2D. - `double`
raw docstring

set-curveclj

(set-curve this x-1 y-1 ctrlx-1 ctrly-1 ctrlx-2 ctrly-2 x-2 y-2)

Sets the location of the end points and control points of this curve to the specified double coordinates.

x-1 - the X coordinate used to set the start point of this CubicCurve2D - double y-1 - the Y coordinate used to set the start point of this CubicCurve2D - double ctrlx-1 - the X coordinate used to set the first control point of this CubicCurve2D - double ctrly-1 - the Y coordinate used to set the first control point of this CubicCurve2D - double ctrlx-2 - the X coordinate used to set the second control point of this CubicCurve2D - double ctrly-2 - the Y coordinate used to set the second control point of this CubicCurve2D - double x-2 - the X coordinate used to set the end point of this CubicCurve2D - double y-2 - the Y coordinate used to set the end point of this CubicCurve2D - double

Sets the location of the end points and control points of this curve
 to the specified double coordinates.

x-1 - the X coordinate used to set the start point of this CubicCurve2D - `double`
y-1 - the Y coordinate used to set the start point of this CubicCurve2D - `double`
ctrlx-1 - the X coordinate used to set the first control point of this CubicCurve2D - `double`
ctrly-1 - the Y coordinate used to set the first control point of this CubicCurve2D - `double`
ctrlx-2 - the X coordinate used to set the second control point of this CubicCurve2D - `double`
ctrly-2 - the Y coordinate used to set the second control point of this CubicCurve2D - `double`
x-2 - the X coordinate used to set the end point of this CubicCurve2D - `double`
y-2 - the Y coordinate used to set the end point of this CubicCurve2D - `double`
raw docstring

x-1clj

(x-1 this)

Instance Field.

The X coordinate of the start point of the cubic curve segment.

type: float

Instance Field.

The X coordinate of the start point
 of the cubic curve segment.

type: float
raw docstring

x-2clj

(x-2 this)

Instance Field.

The X coordinate of the end point of the cubic curve segment.

type: float

Instance Field.

The X coordinate of the end point
 of the cubic curve segment.

type: float
raw docstring

y-1clj

(y-1 this)

Instance Field.

The Y coordinate of the start point of the cubic curve segment.

type: float

Instance Field.

The Y coordinate of the start point
 of the cubic curve segment.

type: float
raw docstring

y-2clj

(y-2 this)

Instance Field.

The Y coordinate of the end point of the cubic curve segment.

type: float

Instance Field.

The Y coordinate of the end point
 of the cubic curve segment.

type: float
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close