gradientstops-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.shapes
class gradientstops

java.lang.object
  extended by com.spire.ms.system.collections.generic.list<xlsgradientstop>
      extended by com.spire.xls.core.spreadsheet.shapes.gradientstops
all implemented interfaces:
com.spire.ms.system.collections.generic.igenericcollection<xlsgradientstop>, com.spire.ms.system.collections.generic.igenericenumerable<xlsgradientstop>, com.spire.ms.system.collections.generic.igenericlist<xlsgradientstop>, com.spire.ms.system.collections.ienumerable<xlsgradientstop>, java.lang.iterable<xlsgradientstop>, java.util.collection<xlsgradientstop>, java.util.list<xlsgradientstop>

public class gradientstops
extends com.spire.ms.system.collections.generic.list<xlsgradientstop>

constructor summary
gradientstops()
           
 
method summary
 xlsgradientstop add(java.awt.color color, int position, int transparency, int tint, int shade)
           
 void doublegradientstops()
          doubles gradient stops in the collection and updates their positions.
 int getangle()
          gets / sets gradient angle.
 java.awt.rectangle getfilltorect()
          this element defines the "focus" rectangle for the center shade, specified relative to the xlsfill tile rectangle.
 gradienttype getgradienttype()
          gets / sets type of the gradient.
 void invertgradientstops()
          inverts gradient stops order and updates their positions correctly.
 boolean isdoubled()
          returns true if gradient stops are symmetric.
 void setangle(int value)
          gets / sets gradient angle.
 void setfilltorect(java.awt.rectangle value)
          this element defines the "focus" rectangle for the center shade, specified relative to the xlsfill tile rectangle.
 void setgradienttype(gradienttype value)
          gets / sets type of the gradient.
 gradientstops shrinkgradientstops()
           
 
constructor detail

gradientstops

public gradientstops()
method detail

getangle

public int getangle()
gets / sets gradient angle.

setangle

public void setangle(int value)
gets / sets gradient angle.

getgradienttype

public gradienttype getgradienttype()
gets / sets type of the gradient.

setgradienttype

public void setgradienttype(gradienttype value)
gets / sets type of the gradient.

getfilltorect

public java.awt.rectangle getfilltorect()
this element defines the "focus" rectangle for the center shade, specified relative to the xlsfill tile rectangle.

setfilltorect

public void setfilltorect(java.awt.rectangle value)
this element defines the "focus" rectangle for the center shade, specified relative to the xlsfill tile rectangle.

isdoubled

public boolean isdoubled()
returns true if gradient stops are symmetric. read-only.

doublegradientstops

public void doublegradientstops()
doubles gradient stops in the collection and updates their positions.

invertgradientstops

public void invertgradientstops()
inverts gradient stops order and updates their positions correctly.

shrinkgradientstops

public gradientstops shrinkgradientstops()

add

public xlsgradientstop add(java.awt.color color,
                           int position,
                           int transparency,
                           int tint,
                           int shade)


网站地图