| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hslf.usermodel.HSLFFill
public final class HSLFFill
Represents functionality provided by the 'Fill Effects' dialog in PowerPoint.
| Field Summary | |
|---|---|
static int | 
FILL_BACKGROUND
Use the background fill color/pattern  | 
static int | 
FILL_PATTERN
Fill with a pattern (bitmap)  | 
static int | 
FILL_PICTURE
Center a picture in the shape  | 
static int | 
FILL_SHADE
Shade from start to end points  | 
static int | 
FILL_SHADE_CENTER
Shade from bounding rectangle to end point  | 
static int | 
FILL_SHADE_SCALE
Similar to FILL_SHADE, but the fill angle is additionally scaled by the aspect ratio of the shape.  | 
static int | 
FILL_SHADE_SHAPE
Shade from shape outline to end point  | 
static int | 
FILL_SHADE_TITLE
shade to title  | 
static int | 
FILL_SOLID
Fill with a solid color  | 
static int | 
FILL_TEXTURE
A texture (pattern with its own color map)  | 
protected  POILogger | 
logger
 | 
protected  HSLFShape | 
shape
The shape this background applies to  | 
| Constructor Summary | |
|---|---|
HSLFFill(HSLFShape shape)
Construct a Fill object for a shape. | 
|
| Method Summary | |
|---|---|
protected  void | 
afterInsert(HSLFSheet sh)
 | 
 java.awt.Color | 
getBackgroundColor()
Background color  | 
protected  EscherBSERecord | 
getEscherBSERecord(int idx)
 | 
 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.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected POILogger logger
public static final int FILL_SOLID
public static final int FILL_PATTERN
public static final int FILL_TEXTURE
public static final int FILL_PICTURE
public static final int FILL_SHADE
public static final int FILL_SHADE_CENTER
public static final int FILL_SHADE_SHAPE
public static final int FILL_SHADE_SCALE
public static final int FILL_SHADE_TITLE
public static final int FILL_BACKGROUND
protected HSLFShape shape
| Constructor Detail | 
|---|
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 to| Method Detail | 
|---|
public FillStyle getFillStyle()
public int getFillType()
FILL_* constants defined in this class.
protected void afterInsert(HSLFSheet sh)
protected EscherBSERecord getEscherBSERecord(int idx)
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[], org.apache.poi.sl.usermodel.PictureData.PictureType) method.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||