com.reportmill.graphics
Class RMGradientFill
java.lang.Object
com.reportmill.foundation.RMObject
com.reportmill.graphics.RMFill
com.reportmill.graphics.RMImageFill
com.reportmill.graphics.RMGradientFill
- All Implemented Interfaces:
- java.lang.Cloneable, com.reportmill.foundation.RMArchiver.Archiving
- public class RMGradientFill
- extends RMImageFill
|
Method Summary |
RMColor |
endColor()
|
boolean |
equals(java.lang.Object obj)
Standard equals implementation. |
java.lang.Object |
fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
XML unarchival. |
float |
getRoll()
|
java.lang.Object |
initWithArchiver(com.reportmill.foundation.RMArchiver anArchiver)
Legacy unarchival. |
static java.awt.image.BufferedImage |
newBufferedImage(int width,
int height,
boolean hasAlpha)
|
void |
setGradient(RMColor startColor,
RMColor endColor,
float roll)
|
com.ribs.RXElement |
toXML(com.ribs.RXArchiver anArchiver)
XML archival. |
| Methods inherited from class com.reportmill.graphics.RMImageFill |
awt, deriveFill, deriveFill, getFillStyle, getImageBounds, getImageBounds, getImageData, getImageMargins, getImageShape, getImageSize, getPageNumber, getType, paintPath, setFillStyle, setImageData, setImageMargins, setPageNumber |
| Methods inherited from class com.reportmill.foundation.RMObject |
archiverClassName, clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, undoClone, undoCopy, undoEquals |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMGradientFill
public RMGradientFill()
RMGradientFill
public RMGradientFill(RMColor startColor,
RMColor endColor)
RMGradientFill
public RMGradientFill(RMColor startColor,
RMColor endColor,
float roll)
endColor
public RMColor endColor()
getRoll
public float getRoll()
setGradient
public void setGradient(RMColor startColor,
RMColor endColor,
float roll)
newBufferedImage
public static java.awt.image.BufferedImage newBufferedImage(int width,
int height,
boolean hasAlpha)
equals
public boolean equals(java.lang.Object obj)
- Description copied from class:
RMImageFill
- Standard equals implementation.
- Overrides:
equals in class RMImageFill
initWithArchiver
public java.lang.Object initWithArchiver(com.reportmill.foundation.RMArchiver anArchiver)
- Description copied from class:
RMImageFill
- Legacy unarchival.
- Specified by:
initWithArchiver in interface com.reportmill.foundation.RMArchiver.Archiving- Overrides:
initWithArchiver in class RMImageFill
toXML
public com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
- XML archival.
- Overrides:
toXML in class RMImageFill
fromXML
public java.lang.Object fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
- XML unarchival.
- Overrides:
fromXML in class RMImageFill