com.aspose.slides.pptx
Class PictureFillFormatEx

java.lang.Object
  extended by com.aspose.slides.pptx.PictureFillFormatEx
All Implemented Interfaces:
IFillParamSource, IPresentationComponent, ISlideComponent

public class PictureFillFormatEx
extends java.lang.Object
implements ISlideComponent, IFillParamSource

Represents a picture fill style.


Method Summary
 float getCropBottom()
          Returns the number of percents of real image height that are cropped off the bottom of the picture.
 float getCropLeft()
          Returns the number of percents of real image width that are cropped off the left of the picture.
 float getCropRight()
          Returns the number of percents of real image width that are cropped off the right of the picture.
 float getCropTop()
          Returns the number of percents of real image height that are cropped off the top of the picture.
 int getDpi()
          Returns the dpi which is used to fill a picture.
 PictureEx getPicture()
          Returns the picture.
 PictureFillModeEx getPictureFillMode()
          Returns the picture fill mode.
 PresentationEx getPresentation()
          Returns the parent presentation of a picture.
 BaseSlideEx getSlide()
          Returns the parent slide of a picture.
 java.awt.geom.Rectangle2D.Float getSourceRectangle()
           
 RectangleAlignmentEx getTileAlign()
           
 TileFlipEx getTileFlip()
           
 double getTileOffsetX()
           
 double getTileOffsetY()
           
 float getTileScaleX()
           
 float getTileScaleY()
           
 void setCropBottom(float value)
          Sets the number of percents of real image height that are cropped off the bottom of the picture.
 void setCropLeft(float value)
          Sets the number of percents of real image width that are cropped off the left of the picture.
 void setCropRight(float value)
          Sets the number of percents of real image width that are cropped off the right of the picture.
 void setCropTop(float value)
          Sets the number of percents of real image height that are cropped off the top of the picture.
 void setDpi(int value)
          Sets the dpi which is used to fill a picture.
 void setPictureFillMode(PictureFillModeEx value)
          Sets the picture fill mode.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDpi

public int getDpi()
Returns the dpi which is used to fill a picture.


setDpi

public void setDpi(int value)
Sets the dpi which is used to fill a picture.

Parameters:
value - new dpi value.

getPictureFillMode

public PictureFillModeEx getPictureFillMode()
Returns the picture fill mode.

Returns:
See PictureFillModeEx.

getPicture

public PictureEx getPicture()
Returns the picture.


setPictureFillMode

public void setPictureFillMode(PictureFillModeEx value)
Sets the picture fill mode.

Parameters:
value - See PictureFillModeEx.

getTileOffsetX

public double getTileOffsetX()

getTileOffsetY

public double getTileOffsetY()

getTileScaleX

public float getTileScaleX()

getTileScaleY

public float getTileScaleY()

getTileFlip

public TileFlipEx getTileFlip()

getTileAlign

public RectangleAlignmentEx getTileAlign()

getCropLeft

public float getCropLeft()
Returns the number of percents of real image width that are cropped off the left of the picture.


setCropLeft

public void setCropLeft(float value)
Sets the number of percents of real image width that are cropped off the left of the picture.

Parameters:
value -

getCropTop

public float getCropTop()
Returns the number of percents of real image height that are cropped off the top of the picture.


setCropTop

public void setCropTop(float value)
Sets the number of percents of real image height that are cropped off the top of the picture.

Parameters:
value -

getCropRight

public float getCropRight()
Returns the number of percents of real image width that are cropped off the right of the picture.


setCropRight

public void setCropRight(float value)
Sets the number of percents of real image width that are cropped off the right of the picture.

Parameters:
value -

getCropBottom

public float getCropBottom()
Returns the number of percents of real image height that are cropped off the bottom of the picture.


setCropBottom

public void setCropBottom(float value)
Sets the number of percents of real image height that are cropped off the bottom of the picture.

Parameters:
value -

getSourceRectangle

public java.awt.geom.Rectangle2D.Float getSourceRectangle()

getSlide

public BaseSlideEx getSlide()
Returns the parent slide of a picture.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public PresentationEx getPresentation()
Returns the parent presentation of a picture.

Specified by:
getPresentation in interface IPresentationComponent