com.aspose.slides
Class PatternFormatEx

java.lang.Object
  extended by com.aspose.slides.PatternFormatEx

public class PatternFormatEx
extends java.lang.Object

Represents a pattern to fill a shape.


Method Summary
 ColorFormatEx getBackColorFormat()
           Returns the background pattern color.
 ColorFormatEx getForeColorFormat()
           Returns the foreground pattern color.
 byte getPatternStyle()
           Returns or sets the pattern style.
 PresentationEx getPresentation()
           Returns the parent presentation of a PatternFormatEx.
 BaseSlideEx getSlide()
           Returns the parent slide of a PatternFormatEx.
 java.awt.image.BufferedImage getTileImage(java.awt.Color styleColor)
           
 java.awt.image.BufferedImage getTileImage(java.awt.Color background, java.awt.Color foreground)
           
 void setPatternStyle(byte value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPatternStyle

public byte getPatternStyle()

Returns or sets the pattern style. Read/write PatternStyleEx.


setPatternStyle

public void setPatternStyle(byte value)

getForeColorFormat

public ColorFormatEx getForeColorFormat()

Returns the foreground pattern color. Read-only ColorFormatEx.


getBackColorFormat

public ColorFormatEx getBackColorFormat()

Returns the background pattern color. Read-only ColorFormatEx.


getTileImage

public java.awt.image.BufferedImage getTileImage(java.awt.Color background,
                                                 java.awt.Color foreground)

getTileImage

public java.awt.image.BufferedImage getTileImage(java.awt.Color styleColor)

getSlide

public BaseSlideEx getSlide()

Returns the parent slide of a PatternFormatEx. Read-only BaseSlideEx.


getPresentation

public PresentationEx getPresentation()

Returns the parent presentation of a PatternFormatEx. Read-only PresentationEx.