Package com.winnovative_software
Class BezierCurveElement
java.lang.Object
com.winnovative_software.PageElement
com.winnovative_software.PageGraphicElement
com.winnovative_software.BezierCurveElement
Represents a Bezier curve element to be rendered in a PDF document
- 
Constructor SummaryConstructorsConstructorDescriptionBezierCurveElement(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) Constructs a Bezier curve element
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetX1(float x1) Sets the X coordinate of the first point of the Bezier curvevoidsetX2(float x2) Sets the X coordinate of the second point of the Bezier curvevoidsetX3(float x3) Sets the X coordinate of the third point of the Bezier curvevoidsetX4(float x4) Sets the X coordinate of the fourth point of the Bezier curvevoidsetY1(float y1) Sets the Y coordinate of the first point of the Bezier curvevoidsetY2(float y2) Sets the Y coordinate of the second point of the Bezier curvevoidsetY3(float y3) Sets the Y coordinate of the third point of the Bezier curvevoidsetY4(float y4) Sets the Y coordinate of the third point of the Bezier curvefloatx1()Gets the X coordinate of the first point of the Bezier curvefloatx2()Gets the X coordinate of the second point of the Bezier curvefloatx3()Gets the X coordinate of the third point of the Bezier curvefloatx4()Gets the X coordinate of the fourth point of the Bezier curvefloaty1()Gets the Y coordinate of the first point of the Bezier curvefloaty2()Gets the Y coordinate of the second point of the Bezier curvefloaty3()Gets the Y coordinate of the third point of the Bezier curvefloaty4()Gets the Y coordinate of the fourth point of the Bezier curveMethods inherited from class com.winnovative_software.PageGraphicElementbackColor, blending, clipRectangle, foreColor, gradient, lineStyle, opacity, rotate, scale, setBackColor, setBlending, setClipRectangle, setForeColor, setGradient, setLineStyle, setOpacity, skew, translate
- 
Constructor Details- 
BezierCurveElementpublic BezierCurveElement(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) Constructs a Bezier curve element- Parameters:
- x1- the first point X coordinate
- y1- the first point Y coordinate
- x2- the second point X coordinate
- y2- the second point Y coordinate
- x3- the third point X coordinate
- y3- the third point Y coordinate
- x4- the fourth point X coordinate
- y4- the fourth point Y coordinate
 
 
- 
- 
Method Details- 
x1public float x1()Gets the X coordinate of the first point of the Bezier curve- Returns:
- the X coordinate of the first point of the Bezier curve
 
- 
setX1public void setX1(float x1) Sets the X coordinate of the first point of the Bezier curve- Parameters:
- x1- the X coordinate to set
 
- 
y1public float y1()Gets the Y coordinate of the first point of the Bezier curve- Returns:
- the Y coordinate of the first point of the Bezier curve
 
- 
setY1public void setY1(float y1) Sets the Y coordinate of the first point of the Bezier curve- Parameters:
- y1- the Y coordinate to set
 
- 
x2public float x2()Gets the X coordinate of the second point of the Bezier curve- Returns:
- the X coordinate of the second point of the Bezier curve
 
- 
setX2public void setX2(float x2) Sets the X coordinate of the second point of the Bezier curve- Parameters:
- x2- the X coordinate to set
 
- 
y2public float y2()Gets the Y coordinate of the second point of the Bezier curve- Returns:
- the Y coordinate of the second point of the Bezier curve
 
- 
setY2public void setY2(float y2) Sets the Y coordinate of the second point of the Bezier curve- Parameters:
- y2- the Y coordinate to set
 
- 
x3public float x3()Gets the X coordinate of the third point of the Bezier curve- Returns:
- the X coordinate of the third point of the Bezier curve
 
- 
setX3public void setX3(float x3) Sets the X coordinate of the third point of the Bezier curve- Parameters:
- x3- the X coordinate to set
 
- 
y3public float y3()Gets the Y coordinate of the third point of the Bezier curve- Returns:
- the Y coordinate of the third point of the Bezier curve
 
- 
setY3public void setY3(float y3) Sets the Y coordinate of the third point of the Bezier curve- Parameters:
- y3- the Y coordinate to set
 
- 
x4public float x4()Gets the X coordinate of the fourth point of the Bezier curve- Returns:
- the X coordinate of the fourth point of the Bezier curve
 
- 
setX4public void setX4(float x4) Sets the X coordinate of the fourth point of the Bezier curve- Parameters:
- x4- the X coordinate to set
 
- 
y4public float y4()Gets the Y coordinate of the fourth point of the Bezier curve- Returns:
- the Y coordinate of the fourth point of the Bezier curve
 
- 
setY4public void setY4(float y4) Sets the Y coordinate of the third point of the Bezier curve- Parameters:
- y4- the Y coordinate to set
 
 
-