|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||
java.lang.objectcom.spire.xls.ocolor
public class ocolor
this object used to store, convert colors.
| constructor summary | |
|---|---|
ocolor()
|
|
ocolor(java.awt.color rgb)
|
|
| method summary | |
|---|---|
boolean |
equals(java.lang.object obj)
determines whether the specified object is equal to the current object. |
colortype |
getcolortype()
returns type of the stored color. |
excelcolors |
getknowncolor(workbook book)
|
double |
gettint()
gets tint. |
int |
getvalue()
returns color value (it can be index, rgb color, etc.) |
void |
setknowncolor(excelcolors value)
sets known color. |
void |
setrgb(com.spire.ms.system.drawing.color rgb,
iworkbook book,
double dtintvalue)
sets rgb color. |
void |
settheme(int themeindex,
iworkbook book)
sets theme color. |
void |
settheme(int themeindex,
iworkbook book,
double dtintvalue)
sets theme color |
void |
settint(double value)
sets tint. |
| constructor detail |
|---|
public ocolor()
public ocolor(java.awt.color rgb)
| method detail |
|---|
public int getvalue()
public double gettint()
public void settint(double value)
public colortype getcolortype()
public void settheme(int themeindex,
iworkbook book)
themeindex - theme color index.book - parent workbook.public void settheme(int themeindex,
iworkbook book,
double dtintvalue)
themeindex - theme color index.book - parent workbook.dtintvalue - tint value.public void setrgb(com.spire.ms.system.drawing.color rgb,
iworkbook book,
double dtintvalue)
rgb - rgb color to set.book - parent workbook.dtintvalue - tint value.public void setknowncolor(excelcolors value)
value - excel color to set.public excelcolors getknowncolor(workbook book)
public boolean equals(java.lang.object obj)
equals in class java.lang.objectobj - the object to compare with the current object.
|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||