com.arctorus.documents
Class GradientLinear

java.lang.Object
  extended by com.arctorus.documents.Gradient
      extended by com.arctorus.documents.GradientLinear
All Implemented Interfaces:
java.lang.Cloneable

public final class GradientLinear
extends Gradient

Linear gradient.


Constructor Summary
GradientLinear()
          Default constructor.
 
Method Summary
 float getAngle()
          Return angle (degree) of a gradient.
 void setAngle(float angle)
          Set angle (degree) of a gradient.
 
Methods inherited from class com.arctorus.documents.Gradient
getEndColor, getEndColorStop, getStartColor, getStartColorStop, getType, isRotate, setEndColor, setEndColorStop, setRotate, setStartColor, setStartColorStop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientLinear

public GradientLinear()
Default constructor.

Method Detail

getAngle

public float getAngle()
Return angle (degree) of a gradient.


setAngle

public void setAngle(float angle)
Set angle (degree) of a gradient.

Parameters:
angle - new gradient angle. Must be in the range [0..359].