com.aspose.slides
Class ShapeStyle

java.lang.Object
  extended by com.aspose.slides.ShapeStyle
All Implemented Interfaces:
IPresentationComponent, IShapeStyle, ISlideComponent

public class ShapeStyle
extends java.lang.Object
implements IShapeStyle

Represent shape's style reference.


Method Summary
 IColorFormat getEffectColor()
           Returns a shape's effect color.
 long getEffectStyleIndex()
           Returns or sets shape's effect column index in a style matrix.
 IColorFormat getFillColor()
           Returns a shape's fill color.
 short getFillStyleIndex()
           Returns or sets shape's fill column index in style matrices.
 int getFontCollectionIndex()
           Returns or sets shape's font index in a font collection.
 IColorFormat getFontColor()
           Returns a shape's font color.
 IColorFormat getLineColor()
           Returns a shape's outline color.
 int getLineStyleIndex()
           Returns or sets line's column index in a style matrix.
 IPresentation getPresentation()
           Returns the parent presentation of a shape style.
 IBaseSlide getSlide()
           Returns the parent slide of a shape style.
 void setEffectStyleIndex(long value)
           
 void setFillStyleIndex(short value)
           
 void setFontCollectionIndex(int value)
           
 void setLineStyleIndex(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLineColor

public IColorFormat getLineColor()

Returns a shape's outline color. Readonly ColorFormat.

Specified by:
getLineColor in interface IShapeStyle

getLineStyleIndex

public int getLineStyleIndex()

Returns or sets line's column index in a style matrix.

Specified by:
getLineStyleIndex in interface IShapeStyle

setLineStyleIndex

public void setLineStyleIndex(int value)
Specified by:
setLineStyleIndex in interface IShapeStyle

getFillColor

public IColorFormat getFillColor()

Returns a shape's fill color. Readonly ColorFormat.

Specified by:
getFillColor in interface IShapeStyle

getFillStyleIndex

public short getFillStyleIndex()

Returns or sets shape's fill column index in style matrices. 0 means no fill, positive value - index in theme's fill styles, negative value - index in theme's background styles.

Specified by:
getFillStyleIndex in interface IShapeStyle

setFillStyleIndex

public void setFillStyleIndex(short value)
Specified by:
setFillStyleIndex in interface IShapeStyle

getEffectColor

public IColorFormat getEffectColor()

Returns a shape's effect color. Readonly ColorFormat.

Specified by:
getEffectColor in interface IShapeStyle

getEffectStyleIndex

public long getEffectStyleIndex()

Returns or sets shape's effect column index in a style matrix.

Specified by:
getEffectStyleIndex in interface IShapeStyle

setEffectStyleIndex

public void setEffectStyleIndex(long value)
Specified by:
setEffectStyleIndex in interface IShapeStyle

getFontColor

public IColorFormat getFontColor()

Returns a shape's font color. Readonly ColorFormat.

Specified by:
getFontColor in interface IShapeStyle

getFontCollectionIndex

public int getFontCollectionIndex()

Returns or sets shape's font index in a font collection. Read/write FontCollectionIndex.

Specified by:
getFontCollectionIndex in interface IShapeStyle

setFontCollectionIndex

public void setFontCollectionIndex(int value)
Specified by:
setFontCollectionIndex in interface IShapeStyle

getSlide

public IBaseSlide getSlide()

Returns the parent slide of a shape style. Read-only BaseSlide.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public IPresentation getPresentation()

Returns the parent presentation of a shape style. Read-only Presentation.

Specified by:
getPresentation in interface IPresentationComponent