java.lang.Object
com.arranger.jarl.stroke.base.Sin.SinWidgetTransfrom
- All Implemented Interfaces:
- com.arranger.jarl.util.IWidgetTransform
- Enclosing class:
- Sin
- public static class Sin.SinWidgetTransfrom
- extends java.lang.Object
- implements com.arranger.jarl.util.IWidgetTransform
|
Constructor Summary |
Sin.SinWidgetTransfrom(double currentFrequency,
double currentAmplitude,
double currentRand)
|
|
Method Summary |
double[] |
getPoints(double distance,
double offset,
double precision)
Generate a series of points that will be used to transform
other lines |
double |
initializeTransform(java.awt.geom.Point2D[] shapePoints)
Initialize the transform, returning the offset if needed |
boolean |
isReverse()
Whether or not to reverse through the points |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_currentFrequency
protected double m_currentFrequency
m_currentAmplitude
protected double m_currentAmplitude
m_currentRand
protected double m_currentRand
Sin.SinWidgetTransfrom
public Sin.SinWidgetTransfrom(double currentFrequency,
double currentAmplitude,
double currentRand)
initializeTransform
public double initializeTransform(java.awt.geom.Point2D[] shapePoints)
- Initialize the transform, returning the offset if needed
- Specified by:
initializeTransform in interface com.arranger.jarl.util.IWidgetTransform
getPoints
public double[] getPoints(double distance,
double offset,
double precision)
- Generate a series of points that will be used to transform
other lines
- Specified by:
getPoints in interface com.arranger.jarl.util.IWidgetTransform
isReverse
public boolean isReverse()
- Whether or not to reverse through the points
- Specified by:
isReverse in interface com.arranger.jarl.util.IWidgetTransform