Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.arranger.jarl.stroke.base
Class Sin.SinWidgetTransfrom  view Sin.SinWidgetTransfrom download Sin.SinWidgetTransfrom.java

java.lang.Object
  extended bycom.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


Field Summary
protected  double m_currentAmplitude
           
protected  double m_currentFrequency
           
protected  double m_currentRand
           
 
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
 

Field Detail

m_currentFrequency

protected double m_currentFrequency

m_currentAmplitude

protected double m_currentAmplitude

m_currentRand

protected double m_currentRand
Constructor Detail

Sin.SinWidgetTransfrom

public Sin.SinWidgetTransfrom(double currentFrequency,
                              double currentAmplitude,
                              double currentRand)
Method Detail

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