declare namespace java {
namespace awt {
namespace geom {
namespace QuadCurve2D {
/**
* A quadratic parametric curve segment specified with
* {@code float} coordinates.
* @since 1.2
*/
// @ts-ignore
class Float extends java.awt.geom.QuadCurve2D implements java.io.Serializable {
/**
* Constructs and initializes a QuadCurve2D
with
* coordinates (0, 0, 0, 0, 0, 0).
* @since 1.2
*/
// @ts-ignore
constructor()
/**
* Constructs and initializes a QuadCurve2D
from the
* specified {@code float} coordinates.
* @param x1 the X coordinate of the start point
* @param y1 the Y coordinate of the start point
* @param ctrlx the X coordinate of the control point
* @param ctrly the Y coordinate of the control point
* @param x2 the X coordinate of the end point
* @param y2 the Y coordinate of the end point
* @since 1.2
*/
// @ts-ignore
constructor(x1: number /*float*/, y1: number /*float*/, ctrlx: number /*float*/, ctrly: number /*float*/, x2: number /*float*/, y2: number /*float*/)
/**
* The X coordinate of the start point of the quadratic curve
* segment.
* @since 1.2
* @serial
*/
// @ts-ignore
public x1: number /*float*/
/**
* The Y coordinate of the start point of the quadratic curve
* segment.
* @since 1.2
* @serial
*/
// @ts-ignore
public y1: number /*float*/
/**
* The X coordinate of the control point of the quadratic curve
* segment.
* @since 1.2
* @serial
*/
// @ts-ignore
public ctrlx: number /*float*/
/**
* The Y coordinate of the control point of the quadratic curve
* segment.
* @since 1.2
* @serial
*/
// @ts-ignore
public ctrly: number /*float*/
/**
* The X coordinate of the end point of the quadratic curve
* segment.
* @since 1.2
* @serial
*/
// @ts-ignore
public x2: number /*float*/
/**
* The Y coordinate of the end point of the quadratic curve
* segment.
* @since 1.2
* @serial
*/
// @ts-ignore
public y2: number /*float*/
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getX1(): number /*double*/
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getY1(): number /*double*/
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getP1(): java.awt.geom.Point2D
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getCtrlX(): number /*double*/
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getCtrlY(): number /*double*/
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getCtrlPt(): java.awt.geom.Point2D
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getX2(): number /*double*/
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getY2(): number /*double*/
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getP2(): java.awt.geom.Point2D
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public setCurve(x1: number /*double*/, y1: number /*double*/, ctrlx: number /*double*/, ctrly: number /*double*/, x2: number /*double*/, y2: number /*double*/): void
/**
* Sets the location of the end points and control point of this curve
* to the specified {@code float} coordinates.
* @param x1 the X coordinate of the start point
* @param y1 the Y coordinate of the start point
* @param ctrlx the X coordinate of the control point
* @param ctrly the Y coordinate of the control point
* @param x2 the X coordinate of the end point
* @param y2 the Y coordinate of the end point
* @since 1.2
*/
// @ts-ignore
public setCurve(x1: number /*float*/, y1: number /*float*/, ctrlx: number /*float*/, ctrly: number /*float*/, x2: number /*float*/, y2: number /*float*/): void
/**
* {@inheritDoc}
* @since 1.2
*/
// @ts-ignore
public getBounds2D(): java.awt.geom.Rectangle2D
}
}
}
}
}