com.aspose.slides
Interface IPatternFormatEffectiveData

All Known Implementing Classes:
PatternFormatEffectiveData

public interface IPatternFormatEffectiveData

Immutable object which represents a pattern to fill a shape.


Method Summary
 java.awt.Color getBackColor()
           Returns the background pattern color.
 java.awt.Color getForeColor()
           Returns the foreground pattern color.
 byte getPatternStyle()
           Returns or sets the pattern style.
 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.
 

Method Detail

getPatternStyle

byte getPatternStyle()

Returns or sets the pattern style. Read-only PatternStyle.


getForeColor

java.awt.Color getForeColor()

Returns the foreground pattern color. Read-only java.awt.Color.


getBackColor

java.awt.Color getBackColor()

Returns the background pattern color. Read-only java.awt.Color.


getTileImage

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 System.Drawing.Color for the pattern.
foreground - The foreground System.Drawing.Color for the pattern.
Returns:
Tile Bitmap.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.