Package com.independentsoft.office.word
Class RunContentColor
java.lang.Object
com.independentsoft.office.word.RunContentColor
The Class RunContentColor.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new run content color.RunContentColor(Color color)Instantiates a new run content color.RunContentColor(Color color, ThemeColor themeColor)Instantiates a new run content color.RunContentColor(Color color, ThemeColor themeColor, int themeShade)Instantiates a new run content color.RunContentColor(Color color, ThemeColor themeColor, int themeShade, int themeTint)Instantiates a new run content color. -
Method Summary
Modifier and TypeMethodDescriptionclone()getColor()Gets the color.Gets the theme color.intGets the theme shade.intGets the theme tint.voidSets the color.voidsetThemeColor(ThemeColor themeColor)Sets the theme color.voidsetThemeShade(int themeShade)Sets the theme shade.voidsetThemeTint(int themeTint)Sets the theme tint.toString()
-
Constructor Details
-
RunContentColor
public RunContentColor()Instantiates a new run content color. -
RunContentColor
Instantiates a new run content color.- Parameters:
color- the color
-
RunContentColor
Instantiates a new run content color.- Parameters:
color- the colorthemeColor- the theme color
-
RunContentColor
Instantiates a new run content color.- Parameters:
color- the colorthemeColor- the theme colorthemeShade- the theme shade
-
RunContentColor
Instantiates a new run content color.- Parameters:
color- the colorthemeColor- the theme colorthemeShade- the theme shadethemeTint- the theme tint
-
-
Method Details
-
clone
-
toString
-
getColor
Gets the color.- Returns:
- the color
-
setColor
Sets the color.- Parameters:
color- the new color
-
getThemeColor
Gets the theme color.- Returns:
- the theme color
-
setThemeColor
Sets the theme color.- Parameters:
themeColor- the new theme color
-
getThemeShade
public int getThemeShade()Gets the theme shade.- Returns:
- the theme shade
-
setThemeShade
public void setThemeShade(int themeShade)Sets the theme shade.- Parameters:
themeShade- the new theme shade
-
getThemeTint
public int getThemeTint()Gets the theme tint.- Returns:
- the theme tint
-
setThemeTint
public void setThemeTint(int themeTint)Sets the theme tint.- Parameters:
themeTint- the new theme tint
-