patternfillformat-ag凯发旗舰厅



com.spire.presentation.drawing
class patternfillformat

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

public class patternfillformat
extends java.lang.object
implements islidecomponent

represents a pattern to fill a shape.


constructor summary
patternfillformat(islidecomponent parent)
           
 
method summary
 colorformat getbackgroundcolor()
          gets the background pattern color.
 colorformat getforegroundcolor()
          gets the foreground pattern color.
 patternfilltype getpatterntype()
          gets the pattern style.
 java.awt.image.bufferedimage gettileimage(java.awt.color stylecolor)
          creates a tile image for the pattern fill.
 java.awt.image.bufferedimage gettileimage(java.awt.color background, java.awt.color foreground)
          creates a tile image for the pattern fill with a specified colors.
 void setpatterntype(patternfilltype value)
          sets the pattern style.
 
methods inherited from interface com.spire.presentation.islidecomponent
getslide
 
methods inherited from interface com.spire.presentation.iactivepresentation
getpresentation
 
constructor detail

patternfillformat

public patternfillformat(islidecomponent parent)
method detail

getpatterntype

public patternfilltype getpatterntype()
gets the pattern style. read/write .
returns:

setpatterntype

public void setpatterntype(patternfilltype value)
sets the pattern style. read/write .

getforegroundcolor

public colorformat getforegroundcolor()
gets the foreground pattern color. read-only .
returns:

getbackgroundcolor

public colorformat getbackgroundcolor()
gets the background pattern color. read-only .
returns:

gettileimage

public java.awt.image.bufferedimage gettileimage(java.awt.color background,
                                                 java.awt.color foreground)
creates a tile image for the pattern fill with a specified colors.
parameters:
background - the background for the pattern.
foreground - the foreground for the pattern.
returns:
tile .

gettileimage

public java.awt.image.bufferedimage gettileimage(java.awt.color stylecolor)
creates a tile image for the pattern fill.
parameters:
stylecolor - the default , defined in shapeex's style object. fill's colors can depend on this.
returns:
tile .


网站地图