com.aspose.slides
Class PictureFillFormatEffectiveData

java.lang.Object
  extended by com.aspose.slides.PictureFillFormatEffectiveData
All Implemented Interfaces:
IFillParamSource, IPictureFillFormatEffectiveData

public class PictureFillFormatEffectiveData
extends java.lang.Object
implements IPictureFillFormatEffectiveData

Immutable object which contains the properties of picture fill.


Method Summary
 boolean equals(java.lang.Object obj)
           
 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.
 IPictureEffectiveData getPicture()
           Returns the picture.
 int getPictureFillMode()
           Returns the picture fill mode.
 int hashCode()
           Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDpi

public int getDpi()

Returns the dpi which is used to fill a picture. Read-only int.

Specified by:
getDpi in interface IPictureFillFormatEffectiveData

getPictureFillMode

public int getPictureFillMode()

Returns the picture fill mode. Read-only PictureFillMode.

Specified by:
getPictureFillMode in interface IPictureFillFormatEffectiveData

getPicture

public IPictureEffectiveData getPicture()

Returns the picture. Read-only IPictureEffectiveData.

Specified by:
getPicture in interface IPictureFillFormatEffectiveData

getCropLeft

public float getCropLeft()

Returns the number of percents of real image width that are cropped off the left of the picture. Read-only float.

Specified by:
getCropLeft in interface IPictureFillFormatEffectiveData

getCropTop

public float getCropTop()

Returns the number of percents of real image height that are cropped off the top of the picture. Read-only float.

Specified by:
getCropTop in interface IPictureFillFormatEffectiveData

getCropRight

public float getCropRight()

Returns the number of percents of real image width that are cropped off the right of the picture. Read-only float.

Specified by:
getCropRight in interface IPictureFillFormatEffectiveData

getCropBottom

public float getCropBottom()

Returns the number of percents of real image height that are cropped off the bottom of the picture. Read-only float.

Specified by:
getCropBottom in interface IPictureFillFormatEffectiveData

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Overrides:
hashCode in class java.lang.Object
Returns:
23454


Overriden to make compiler happy. Always returns constant because object is mutable.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.