|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.xslf.usermodel.XSLFColor
@Beta @Internal public class XSLFColor
Encapsulates logic to read color definitions from DrawingML and convert them to java.awt.Color
Constructor Summary | |
---|---|
XSLFColor(org.apache.xmlbeans.XmlObject obj,
XSLFTheme theme,
org.openxmlformats.schemas.drawingml.x2006.main.CTSchemeColor phClr)
|
Method Summary | |
---|---|
java.awt.Color |
getColor()
|
ColorStyle |
getColorStyle()
|
int |
getShade()
specifies a darker version of its input color. |
int |
getTint()
specifies a lighter version of its input color. |
org.apache.xmlbeans.XmlObject |
getXmlObject()
|
protected void |
setColor(java.awt.Color color)
Sets the solid color |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSLFColor(org.apache.xmlbeans.XmlObject obj, XSLFTheme theme, org.openxmlformats.schemas.drawingml.x2006.main.CTSchemeColor phClr)
Method Detail |
---|
@Internal public org.apache.xmlbeans.XmlObject getXmlObject()
public java.awt.Color getColor()
public ColorStyle getColorStyle()
@Internal protected void setColor(java.awt.Color color)
color
- solid colorpublic int getShade()
public int getTint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |