shapestyleex-ag凯发旗舰厅



com.spire.presentation
class shapestyleex

java.lang.object
  extended by com.spire.presentation.shapestyleex
all implemented interfaces:
iactivepresentation, islidecomponent

public class shapestyleex
extends java.lang.object
implements islidecomponent

represent shape's style reference.


constructor summary
shapestyleex()
           
shapestyleex(islidecomponent parent)
           
 
method summary
 colorformat geteffectcolor()
          gets a shape's effect color.
 long geteffectstyleindex()
          gets shape's effect column index in a style matrix.
 colorformat getfillcolor()
          gets a shape's fill color.
 short getfillstyleindex()
          gets shape's fill column index in style matrices.
 fontcollectionindex getfontcollectionindex()
          gets shape's font index in a font collection.
 colorformat getfontcolor()
          gets a shape's font color.
 colorformat getlinecolor()
          gets a shape's outline color.
 int getlinestyleindex()
          gets ine's column index in a style matrix.
 presentation getpresentation()
          returns the parent presentation of a shape style.
 activeslide getslide()
          gets the parent slide of a shape style.
 void seteffectstyleindex(long value)
          sets shape's effect column index in a style matrix.
 void setfillstyleindex(short value)
          sets shape's fill column index in style matrices.
 void setfontcollectionindex(fontcollectionindex value)
          sets shape's font index in a font collection.
 void setlinestyleindex(int value)
          sets line's column index in a style matrix.
 
constructor detail

shapestyleex

public shapestyleex()

shapestyleex

public shapestyleex(islidecomponent parent)
method detail

getlinecolor

public colorformat getlinecolor()
gets a shape's outline color. readonly .
returns:

getlinestyleindex

public int getlinestyleindex()
gets ine's column index in a style matrix.
returns:

setlinestyleindex

public void setlinestyleindex(int value)
sets line's column index in a style matrix.

getfillcolor

public colorformat getfillcolor()
gets a shape's fill color. readonly .
returns:

getfillstyleindex

public short getfillstyleindex()
gets 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.
returns:

setfillstyleindex

public void setfillstyleindex(short value)
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.

geteffectcolor

public colorformat geteffectcolor()
gets a shape's effect color. readonly .
returns:

geteffectstyleindex

public long geteffectstyleindex()
gets shape's effect column index in a style matrix.
returns:

seteffectstyleindex

public void seteffectstyleindex(long value)
sets shape's effect column index in a style matrix.

getfontcolor

public colorformat getfontcolor()
gets a shape's font color. readonly .
returns:

getfontcollectionindex

public fontcollectionindex getfontcollectionindex()
gets shape's font index in a font collection. read/write .
returns:

setfontcollectionindex

public void setfontcollectionindex(fontcollectionindex value)
sets shape's font index in a font collection. read/write .

getslide

public activeslide getslide()
gets the parent slide of a shape style. read-only .
specified by:
getslide in interface islidecomponent
returns:
throws:
java.lang.exception

getpresentation

public presentation getpresentation()
returns the parent presentation of a shape style. read-only .
specified by:
getpresentation in interface iactivepresentation
returns:
throws:
java.lang.exception


网站地图