public final class PatternFormat extends PVIObject implements IPatternFormat
Represents a pattern to fill a shape.
| Modifier and Type | Method and Description |
|---|---|
IColorFormat |
getBackColor()
Returns the background pattern color.
|
IColorFormat |
getForeColor()
Returns the foreground pattern color.
|
byte |
getPatternStyle()
Returns or sets the pattern style.
|
IImage |
getTile(java.awt.Color styleColor)
Creates a tile image for the pattern fill.
|
IImage |
getTile(java.awt.Color background,
java.awt.Color foreground)
Creates a tile image for the pattern fill with a specified colors.
|
java.awt.image.BufferedImage |
getTileImage(java.awt.Color styleColor)
Deprecated.
Use GetTile(Color styleColor) method instead. The method will be removed after release of version 24.7.
|
java.awt.image.BufferedImage |
getTileImage(java.awt.Color background,
java.awt.Color foreground)
Deprecated.
Use GetTile(Color background, Color foreground) method instead. The method will be removed after release of version 24.7.
|
long |
getVersion()
Version.
|
void |
setPatternStyle(byte value)
Returns or sets the pattern style.
|
equals, getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, hashCodepublic long getVersion()
Version.
Read-only long.
getVersion in class PVIObjectpublic final byte getPatternStyle()
Returns or sets the pattern style.
Read/write PatternStyle.
getPatternStyle in interface IPatternFormatpublic final void setPatternStyle(byte value)
Returns or sets the pattern style.
Read/write PatternStyle.
setPatternStyle in interface IPatternFormatpublic final IColorFormat getForeColor()
Returns the foreground pattern color.
Read-only IColorFormat.
getForeColor in interface IPatternFormatpublic final IColorFormat getBackColor()
Returns the background pattern color.
Read-only IColorFormat.
getBackColor in interface IPatternFormat@Deprecated
public final 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.
getTileImage in interface IPatternFormatbackground - The background Color for the pattern.foreground - The foreground Color for the pattern.BufferedImage.public final IImage getTile(java.awt.Color background, java.awt.Color foreground)
Creates a tile image for the pattern fill with a specified colors.
getTile in interface IPatternFormatbackground - The background Color for the pattern.foreground - The foreground Color for the pattern.IImage.@Deprecated public final java.awt.image.BufferedImage getTileImage(java.awt.Color styleColor)
Creates a tile image for the pattern fill.
getTileImage in interface IPatternFormatstyleColor - The default Color,
defined in ShapeEx's StyleEx object. Fill's colors can depend on this.BufferedImage.public final IImage getTile(java.awt.Color styleColor)
Creates a tile image for the pattern fill.
getTile in interface IPatternFormatstyleColor - The default ColorIImage.Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.