Package com.independentsoft.office.word
Class Shading
java.lang.Object
com.independentsoft.office.word.Shading
The Class Shading.
-
Constructor Summary
ConstructorsConstructorDescriptionShading()Instantiates a new shading.Shading(InternalXMLStreamReader reader)Instantiates a new shading.Shading(ShadingPattern pattern)Instantiates a new shading. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the background color.Gets the background theme color.intGets the background theme color shade.intGets the background theme color tint.Gets the pattern.Gets the pattern color.Gets the theme color.intGets the theme color shade.intGets the theme color tint.voidsetBackgroundColor(Color backgroundColor)Sets the background color.voidsetBackgroundThemeColor(ThemeColor backgroundThemeColor)Sets the background theme color.voidsetBackgroundThemeColorShade(int backgroundThemeColorShade)Sets the background theme color shade.voidsetBackgroundThemeColorTint(int backgroundThemeColorTint)Sets the background theme color tint.voidsetPattern(ShadingPattern pattern)Sets the pattern.voidsetPatternColor(Color patternColor)Sets the pattern color.voidsetThemeColor(ThemeColor themeColor)Sets the theme color.voidsetThemeColorShade(int themeColorShade)Sets the theme color shade.voidsetThemeColorTint(int themeColorTint)Sets the theme color tint.toString()
-
Constructor Details
-
Shading
public Shading()Instantiates a new shading. -
Shading
Instantiates a new shading.- Parameters:
pattern- the pattern
-
Shading
Instantiates a new shading.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getPatternColor
Gets the pattern color.- Returns:
- the pattern color
-
setPatternColor
Sets the pattern color.- Parameters:
patternColor- the new pattern color
-
getBackgroundColor
Gets the background color.- Returns:
- the background color
-
setBackgroundColor
Sets the background color.- Parameters:
backgroundColor- the new background color
-
getThemeColor
Gets the theme color.- Returns:
- the theme color
-
setThemeColor
Sets the theme color.- Parameters:
themeColor- the new theme color
-
getBackgroundThemeColor
Gets the background theme color.- Returns:
- the background theme color
-
setBackgroundThemeColor
Sets the background theme color.- Parameters:
backgroundThemeColor- the new background theme color
-
getBackgroundThemeColorShade
public int getBackgroundThemeColorShade()Gets the background theme color shade.- Returns:
- the background theme color shade
-
setBackgroundThemeColorShade
public void setBackgroundThemeColorShade(int backgroundThemeColorShade)Sets the background theme color shade.- Parameters:
backgroundThemeColorShade- the new background theme color shade
-
getBackgroundThemeColorTint
public int getBackgroundThemeColorTint()Gets the background theme color tint.- Returns:
- the background theme color tint
-
setBackgroundThemeColorTint
public void setBackgroundThemeColorTint(int backgroundThemeColorTint)Sets the background theme color tint.- Parameters:
backgroundThemeColorTint- the new background theme color tint
-
getThemeColorShade
public int getThemeColorShade()Gets the theme color shade.- Returns:
- the theme color shade
-
setThemeColorShade
public void setThemeColorShade(int themeColorShade)Sets the theme color shade.- Parameters:
themeColorShade- the new theme color shade
-
getThemeColorTint
public int getThemeColorTint()Gets the theme color tint.- Returns:
- the theme color tint
-
setThemeColorTint
public void setThemeColorTint(int themeColorTint)Sets the theme color tint.- Parameters:
themeColorTint- the new theme color tint
-
getPattern
Gets the pattern.- Returns:
- the pattern
-
setPattern
Sets the pattern.- Parameters:
pattern- the new pattern
-