Liking cljdoc? Tell your friends :D

jdk.awt.geom.QuadCurve2D$Float

A quadratic parametric curve segment specified with float coordinates.

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

->floatclj

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

Constructor.

Constructs and initializes a QuadCurve2D from the specified float coordinates.

x-1 - the X coordinate of the start point - float y-1 - the Y coordinate of the start point - float ctrlx - the X coordinate of the control point - float ctrly - the Y coordinate of the control point - float x-2 - the X coordinate of the end point - float y-2 - the Y coordinate of the end point - float

Constructor.

Constructs and initializes a QuadCurve2D from the
 specified float coordinates.

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

ctrlxclj

(ctrlx this)

Instance Field.

The X coordinate of the control point of the quadratic curve segment.

type: float

Instance Field.

The X coordinate of the control point of the quadratic curve
 segment.

type: float
raw docstring

ctrlyclj

(ctrly this)

Instance Field.

The Y coordinate of the control point of the quadratic curve segment.

type: float

Instance Field.

The Y coordinate of the control point of the quadratic 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-ptclj

(get-ctrl-pt this)

Returns the control point.

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

Returns the control point.

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

get-ctrl-xclj

(get-ctrl-x this)

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

returns: X coordinate the control point - double

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

returns: X coordinate the control point - `double`
raw docstring

get-ctrl-yclj

(get-ctrl-y this)

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

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

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

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

get-p-1clj

(get-p-1 this)

Returns the start point.

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

Returns the start point.

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

get-p-2clj

(get-p-2 this)

Returns the end point.

returns: a Point object that is the end point of this Point2D. - java.awt.geom.Point2D

Returns the end point.

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

get-x-1clj

(get-x-1 this)

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

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

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

returns: the X coordinate of the start point. - `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. - double

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

returns: the x coordinate of the end point. - `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. - double

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

returns: the Y coordinate of the start point. - `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. - double

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

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

set-curveclj

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

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

x-1 - the X coordinate of the start point - double y-1 - the Y coordinate of the start point - double ctrlx - the X coordinate of the control point - double ctrly - the Y coordinate of the control point - double x-2 - the X coordinate of the end point - double y-2 - the Y coordinate of the end point - double

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

x-1 - the X coordinate of the start point - `double`
y-1 - the Y coordinate of the start point - `double`
ctrlx - the X coordinate of the control point - `double`
ctrly - the Y coordinate of the control point - `double`
x-2 - the X coordinate of the end point - `double`
y-2 - the Y coordinate of the end point - `double`
raw docstring

x-1clj

(x-1 this)

Instance Field.

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

type: float

Instance Field.

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

type: float
raw docstring

x-2clj

(x-2 this)

Instance Field.

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

type: float

Instance Field.

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

type: float
raw docstring

y-1clj

(y-1 this)

Instance Field.

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

type: float

Instance Field.

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

type: float
raw docstring

y-2clj

(y-2 this)

Instance Field.

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

type: float

Instance Field.

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

type: float
raw docstring

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

× close