IBackground
All Implemented Interfaces: com.aspose.slides.ISlideComponent, com.aspose.slides.IFillParamSource
public interface IBackground extends ISlideComponent, IFillParamSource
Represents background of a slide.
Methods
Method | Description |
---|---|
getType() | Returns a type of background fill. |
setType(byte value) | Returns a type of background fill. |
getFillFormat() | Returns a FillFormat for BackgroundType.OwnBackground fill. |
getEffectFormat() | Returns a EffectFormat for BackgroundType.OwnBackground fill. |
getStyleColor() | Returns a ColorFormat for a BackgroundType.Themed fill. |
getStyleIndex() | Returns an index of BackgroundType.Themed fill in background theme collection. |
setStyleIndex(int value) | Returns an index of BackgroundType.Themed fill in background theme collection. |
getEffective() | Gets effective background data with the inheritance applied. |
getType()
public abstract byte getType()
Returns a type of background fill. Read/write BackgroundType.
Returns: byte
setType(byte value)
public abstract void setType(byte value)
Returns a type of background fill. Read/write BackgroundType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte |
getFillFormat()
public abstract IFillFormat getFillFormat()
Returns a FillFormat for BackgroundType.OwnBackground fill. Read-only IFillFormat.
Returns: IFillFormat
getEffectFormat()
public abstract IEffectFormat getEffectFormat()
Returns a EffectFormat for BackgroundType.OwnBackground fill. Read-only IEffectFormat.
Returns: IEffectFormat
getStyleColor()
public abstract IColorFormat getStyleColor()
Returns a ColorFormat for a BackgroundType.Themed fill. Read-only IColorFormat.
Returns: IColorFormat
getStyleIndex()
public abstract int getStyleIndex()
Returns an index of BackgroundType.Themed fill in background theme collection. 0 means no fill. 1..999 - index. Read/write int.
Returns: int
setStyleIndex(int value)
public abstract void setStyleIndex(int value)
Returns an index of BackgroundType.Themed fill in background theme collection. 0 means no fill. 1..999 - index. Read/write int.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getEffective()
public abstract IBackgroundEffectiveData getEffective()
Gets effective background data with the inheritance applied.
Returns: IBackgroundEffectiveData - A IBackgroundEffectiveData.