ColorScheme

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IColorScheme, com.aspose.slides.IDOMObject

public class ColorScheme implements IColorScheme, IDOMObject

Stores theme-defined colors.

Methods

MethodDescription
getByColorSchemeIndex(byte index)Gets the element at the specified index.
getDark1()First dark color in the scheme.
getLight1()First light color in the scheme.
getDark2()Second dark color in the scheme.
getLight2()Second light color in the scheme.
getAccent1()First accent color in the scheme.
getAccent2()Second accent color in the scheme.
getAccent3()Third accent color in the scheme.
getAccent4()Fourth accent color in the scheme.
getAccent5()Fifth accent color in the scheme.
getAccent6()Sixth accent color in the scheme.
getHyperlink()Color for the hyperlinks.
getFollowedHyperlink()Color for the visited hyperlinks.
getSlide()Returns the parent slide.
getPresentation()Returns the parent presentation.
getParent_Immediate()

getByColorSchemeIndex(byte index)

public final IColorFormat getByColorSchemeIndex(byte index)

Gets the element at the specified index. Read-only IColorFormat.

Parameters:

ParameterTypeDescription
indexbyte

Returns: IColorFormat

getDark1()

public final IColorFormat getDark1()

First dark color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

getLight1()

public final IColorFormat getLight1()

First light color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

getDark2()

public final IColorFormat getDark2()

Second dark color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

getLight2()

public final IColorFormat getLight2()

Second light color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

getAccent1()

public final IColorFormat getAccent1()

First accent color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

getAccent2()

public final IColorFormat getAccent2()

Second accent color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

getAccent3()

public final IColorFormat getAccent3()

Third accent color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

getAccent4()

public final IColorFormat getAccent4()

Fourth accent color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

getAccent5()

public final IColorFormat getAccent5()

Fifth accent color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

getAccent6()

public final IColorFormat getAccent6()

Sixth accent color in the scheme. Read-only IColorFormat.

Returns: IColorFormat

public final IColorFormat getHyperlink()

Color for the hyperlinks. Read-only IColorFormat.

Returns: IColorFormat

public final IColorFormat getFollowedHyperlink()

Color for the visited hyperlinks. Read-only IColorFormat.

Returns: IColorFormat

getSlide()

public final IBaseSlide getSlide()

Returns the parent slide. Read-only IBaseSlide.

Returns: IBaseSlide

getPresentation()

public final IPresentation getPresentation()

Returns the parent presentation. Read-only IPresentation.

Returns: IPresentation

getParent_Immediate()

public final IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.

Returns: com.aspose.slides.IDOMObject