patternfillformat-ag凯发旗舰厅
com.spire.presentation.drawing
class patternfillformat
java.lang.object
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.
patternfillformat
public patternfillformat(islidecomponent parent)
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 .