ReportMill 11 API

com.reportmill.shape.fill
Class RMGradientFill.ColorStop

java.lang.Object
  extended by com.reportmill.shape.fill.RMGradientFill.ColorStop
Enclosing class:
RMGradientFill

public static class RMGradientFill.ColorStop
extends java.lang.Object

Simple static class to represent a stop (they're immutable).


Constructor Summary
RMGradientFill.ColorStop(RMColor aColor, float aPosition)
          Creates a new color stop.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Standard equals implementation.
 RMColor getColor()
          Returns stop color.
 float getPosition()
          Returns stop position.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMGradientFill.ColorStop

public RMGradientFill.ColorStop(RMColor aColor,
                                float aPosition)
Creates a new color stop.

Method Detail

getColor

public RMColor getColor()
Returns stop color.


getPosition

public float getPosition()
Returns stop position.


equals

public boolean equals(java.lang.Object obj)
Standard equals implementation.

Overrides:
equals in class java.lang.Object

ReportMill 11 API