/**
* Represents a picture in a PowerPoint document.
- * <p>
- * The information about an image in PowerPoint document is stored in
- * two places:
- * <li> EscherBSE container in the Document keeps information about image
- * type, image index to refer by slides etc.
- * <li> "Pictures" OLE stream holds the actual data of the image.
- * </p>
*
* @author Yegor Kozlov
*/
/**
* Resize this picture to the default size.
+ * For PNG and JPEG resizes the image to 100%,
+ * for other types sets the default size of 200x200 pixels.
*/
public void setDefaultSize(){
PictureData pict = getPictureData();
/**
* The color used to fill this shape.
- *
- * @param color the background color
*/
- public Color getFillColor(Color color){
+ public Color getFillColor(){
EscherOptRecord opt = (EscherOptRecord)getEscherChild(_escherContainer, EscherOptRecord.RECORD_ID);
EscherSimpleProperty p1 = (EscherSimpleProperty)getEscherProperty(opt, EscherProperties.FILL__FILLCOLOR);
EscherSimpleProperty p2= (EscherSimpleProperty)getEscherProperty(opt, EscherProperties.FILL__NOFILLHITTEST);