com.aspose.slides.pptx
Class ShapeStyleEx

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

public class ShapeStyleEx
extends java.lang.Object
implements ISlideComponent

Represent the style of a shape.


Method Summary
 ColorFormatEx getEffectColor()
          Returns a shape's effect color.
 long getEffectStyleIndex()
          Returns the shape's effect style index in a style matrix.
 ColorFormatEx getFillColor()
          Returns the fill color of a shape.
 short getFillStyleIndex()
          Returns shape's fill column index in a style matrix. 0 means no fill, positive value - index in theme's fill styles, negative value - index in theme's background styles.
 FontCollectionIndexEx getFontCollectionIndex()
          Returns the shape's font index in a font collection.
 ColorFormatEx getFontColor()
          Returns a shape's font color.
 ColorFormatEx getLineColor()
          Returns the outline color of a shape.
 int getLineStyleIndex()
          Returns the line's style index in a style matrix.
 PresentationEx getPresentation()
          Returns the parent presentation of a shape style.
 BaseSlideEx getSlide()
          Returns the parent slide of a shape style.
 void setEffectStyleIndex(long value)
          Sets the shape's effect style index in a style matrix.
 void setFillStyleIndex(long value)
          Sets the shape's fill style index in a style matrix.
 void setFontCollectionIndex(FontCollectionIndexEx value)
          Sets the shape's font index in a font collection.
 void setLineStyleIndex(int value)
          Sets the line's style index in a style matrix.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLineColor

public ColorFormatEx getLineColor()
Returns the outline color of a shape.


getLineStyleIndex

public int getLineStyleIndex()
Returns the line's style index in a style matrix.


setLineStyleIndex

public void setLineStyleIndex(int value)
Sets the line's style index in a style matrix.

Parameters:
value - new style index.

getFillColor

public ColorFormatEx getFillColor()
Returns the fill color of a shape.


getFillStyleIndex

public short getFillStyleIndex()
Returns shape's fill column index in a style matrix. 0 means no fill, positive value - index in theme's fill styles, negative value - index in theme's background styles.


setFillStyleIndex

public void setFillStyleIndex(long value)
Sets the shape's fill style index in a style matrix.

Parameters:
value - new style index.

getEffectColor

public ColorFormatEx getEffectColor()
Returns a shape's effect color.


getEffectStyleIndex

public long getEffectStyleIndex()
Returns the shape's effect style index in a style matrix.


setEffectStyleIndex

public void setEffectStyleIndex(long value)
Sets the shape's effect style index in a style matrix.

Parameters:
value - new style index.

getFontColor

public ColorFormatEx getFontColor()
Returns a shape's font color.


getFontCollectionIndex

public FontCollectionIndexEx getFontCollectionIndex()
Returns the shape's font index in a font collection.


setFontCollectionIndex

public void setFontCollectionIndex(FontCollectionIndexEx value)
Sets the shape's font index in a font collection.

Parameters:
value - new font index.

getSlide

public BaseSlideEx getSlide()
Returns the parent slide of a shape style.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public PresentationEx getPresentation()
Returns the parent presentation of a shape style.

Specified by:
getPresentation in interface IPresentationComponent