|
ReportMill 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.reportmill.base.RMObject
com.reportmill.graphics.RMFill
com.reportmill.graphics.RMImageFill
com.reportmill.graphics.RMGradientFill
This class represents a fill that draws a gradient of colors from the basic fill color to the end color.
| Field Summary |
| Fields inherited from class com.reportmill.graphics.RMImageFill |
ATTRIBUTE_FILL_STYLE, ATTRIBUTE_ROLL, ATTRIBUTE_SCALE_X, ATTRIBUTE_SCALE_Y, ATTRIBUTE_X, ATTRIBUTE_Y, STYLE_FIT, STYLE_FIT_IFNEEDED, STYLE_STRETCH, STYLE_TILE |
| Fields inherited from class com.reportmill.graphics.RMFill |
DEFAULT |
| Constructor Summary | |
RMGradientFill()
Creates an unitialized graident fill. |
|
RMGradientFill(RMColor startColor,
RMColor endColor,
float roll)
Creates a gradient fill from the given start color to the given end color with the given roll. |
|
| Method Summary | |
boolean |
equals(java.lang.Object anObj)
Standard equals implementation. |
java.lang.Object |
fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
XML unarchival. |
RMColor |
getEndColor()
Returns the gradients end color. |
float |
getRoll()
Returns the gradients rotation. |
java.lang.Object |
initWithArchiver(com.reportmill.base.RMArchiver anArchiver)
Legacy unarchival. |
com.ribs.RXElement |
toXML(com.ribs.RXArchiver anArchiver)
XML archival. |
| Methods inherited from class com.reportmill.graphics.RMImageFill |
awt, deriveFill, deriveFill, deriveFill, getFillStyle, getImageBounds, getImageBounds, getImageData, getImageMargins, getImageShape, getImageSize2D, getPageNumber, getScaleX, getScaleY, getType, getX, getY, paintShape, setFillStyle, setImageData, setImageMargins, setPageNumber, shouldClipToPath |
| Methods inherited from class com.reportmill.graphics.RMFill |
getBounds, getColor, setColor |
| Methods inherited from class com.reportmill.base.RMObject |
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, undoClone, undoCopy, undoEquals |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RMGradientFill()
public RMGradientFill(RMColor startColor,
RMColor endColor,
float roll)
| Method Detail |
public RMColor getEndColor()
public float getRoll()
getRoll in class RMImageFillpublic boolean equals(java.lang.Object anObj)
equals in class RMImageFillpublic java.lang.Object initWithArchiver(com.reportmill.base.RMArchiver anArchiver)
initWithArchiver in interface com.reportmill.base.RMArchiver.ArchivinginitWithArchiver in class RMImageFillpublic com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
toXML in class RMImageFill
public java.lang.Object fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
fromXML in class RMImageFill
|
ReportMill 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||