public final class HSLFFill
extends java.lang.Object
| Constructor and Description |
|---|
HSLFFill(HSLFShape shape)
Construct a
Fill object for a shape. |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getBackgroundColor()
Background color
|
int |
getFillFocus()
The fillFocus property specifies the relative position of the last color in the shaded fill.
|
FillStyle |
getFillStyle() |
int |
getFillType()
Returns fill type.
|
java.awt.Color |
getForegroundColor()
Foreground color
|
HSLFPictureData |
getPictureData()
PictureData object used in a texture, pattern of picture fill. |
void |
setBackgroundColor(java.awt.Color color)
Background color
|
void |
setFillType(int type)
Sets fill type.
|
void |
setForegroundColor(java.awt.Color color)
Foreground color
|
void |
setPictureData(HSLFPictureData data)
Assign picture used to fill the underlying shape.
|
public HSLFFill(HSLFShape shape)
Fill object for a shape.
Fill information will be read from shape's escher properties.shape - the shape this background applies topublic FillStyle getFillStyle()
public int getFillType()
FILL_* constants defined in this class.public int getFillFocus()
public void setFillType(int type)
FILL_* constants defined in this class.type - type of the fillpublic java.awt.Color getForegroundColor()
public void setForegroundColor(java.awt.Color color)
public java.awt.Color getBackgroundColor()
public void setBackgroundColor(java.awt.Color color)
public HSLFPictureData getPictureData()
PictureData object used in a texture, pattern of picture fill.public void setPictureData(HSLFPictureData data)
data - the picture data added to this ppt by HSLFSlideShow.addPicture(byte[], PictureData.PictureType) method.Copyright 2022 The Apache Software Foundation or its licensors, as applicable.