com.stimulsoft.base.drawing.path
Class StiPathCubicBezier

java.lang.Object
  extended by com.stimulsoft.base.drawing.path.StiPathCommand
      extended by com.stimulsoft.base.drawing.path.StiPathCubicBezier

public class StiPathCubicBezier
extends StiPathCommand

Copyright Stimulsoft


Field Summary
 double ctrlx1
          The X coordinate of the first control point of the cubic curve segment.
 double ctrlx2
          The X coordinate of the second control point of the cubic curve segment.
 double ctrly1
          The Y coordinate of the first control point of the cubic curve segment.
 double ctrly2
          The Y coordinate of the second control point of the cubic curve segment.
 double x1
           
 double x2
          The X coordinate of the end point of the cubic curve segment.
 double y1
          The Y coordinate of the start point of the cubic curve segment.
 double y2
          The Y coordinate of the end point of the cubic curve segment.
 
Fields inherited from class com.stimulsoft.base.drawing.path.StiPathCommand
KAPPA
 
Constructor Summary
StiPathCubicBezier(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)
           
 
Method Summary
 StiPathCommandEnum getCommand()
          Return operation
 
Methods inherited from class com.stimulsoft.base.drawing.path.StiPathCommand
createCircle, curveTo, getX, getY, lineTo, moveTo, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x1

public double x1

y1

public double y1
The Y coordinate of the start point of the cubic curve segment.

Since:
1.2

ctrlx1

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

Since:
1.2

ctrly1

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

Since:
1.2

ctrlx2

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

Since:
1.2

ctrly2

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

Since:
1.2

x2

public double x2
The X coordinate of the end point of the cubic curve segment.

Since:
1.2

y2

public double y2
The Y coordinate of the end point of the cubic curve segment.

Since:
1.2
Constructor Detail

StiPathCubicBezier

public StiPathCubicBezier(double x1,
                          double y1,
                          double ctrlx1,
                          double ctrly1,
                          double ctrlx2,
                          double ctrly2,
                          double x2,
                          double y2)
Parameters:
x -
y -
x1 -
y1 -
ctrlx1 -
ctrly1 -
ctrlx2 -
ctrly2 -
x2 -
y2 -
Method Detail

getCommand

public StiPathCommandEnum getCommand()
Description copied from class: StiPathCommand
Return operation

Overrides:
getCommand in class StiPathCommand
Returns:
StiPathCommand