com.arctorus.documents
Class Adjustment

java.lang.Object
  extended by com.arctorus.documents.Adjustment

public final class Adjustment
extends java.lang.Object

Single adjustment guide of an auto shape.


Field Summary
static Adjustment NULL
          NULL Adjustment
 
Constructor Summary
Adjustment()
          Default constructor.
Adjustment(float value)
          Creates adjustment guide and sets it's value.
 
Method Summary
 float getValue()
          Returns adjustment value.
 void setValue(float value)
          Sets new adjustment value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final Adjustment NULL
NULL Adjustment

Constructor Detail

Adjustment

public Adjustment()
Default constructor.


Adjustment

public Adjustment(float value)
Creates adjustment guide and sets it's value.

Parameters:
value - adjustment value. Adjustment must be in the range [0..1].
Method Detail

getValue

public float getValue()
Returns adjustment value. Value is in the range [0..1].


setValue

public void setValue(float value)
Sets new adjustment value.

Parameters:
value - new adjustment value. Adjustment must be in the range [0..1].