IPictureFillFormat

All Implemented Interfaces: com.aspose.slides.IFillParamSource

public interface IPictureFillFormat extends IFillParamSource

Represents a picture fill style.

Methods

MethodDescription
getDpi()Returns or sets the dpi which is used to fill a picture.
setDpi(int value)Returns or sets the dpi which is used to fill a picture.
getPictureFillMode()Returns or sets the picture fill mode.
setPictureFillMode(int value)Returns or sets the picture fill mode.
getPicture()Returns the picture.
getCropLeft()Returns or sets the number of percents of real image width that are cropped off the left of the picture.
setCropLeft(float value)Returns or sets the number of percents of real image width that are cropped off the left of the picture.
getCropTop()Returns or sets the number of percents of real image height that are cropped off the top of the picture.
setCropTop(float value)Returns or sets the number of percents of real image height that are cropped off the top of the picture.
getCropRight()Returns or sets the number of percents of real image width that are cropped off the right of the picture.
setCropRight(float value)Returns or sets the number of percents of real image width that are cropped off the right of the picture.
getCropBottom()Returns or sets the number of percents of real image height that are cropped off the bottom of the picture.
setCropBottom(float value)Returns or sets the number of percents of real image height that are cropped off the bottom of the picture.
getStretchOffsetLeft()Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape’s bounding box.
setStretchOffsetLeft(float value)Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape’s bounding box.
getStretchOffsetTop()Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape’s bounding box.
setStretchOffsetTop(float value)Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape’s bounding box.
getStretchOffsetRight()Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape’s bounding box.
setStretchOffsetRight(float value)Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape’s bounding box.
getStretchOffsetBottom()Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape’s bounding box.
setStretchOffsetBottom(float value)Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape’s bounding box.

getDpi()

public abstract int getDpi()

Returns or sets the dpi which is used to fill a picture. Read/write int.

Returns: int

setDpi(int value)

public abstract void setDpi(int value)

Returns or sets the dpi which is used to fill a picture. Read/write int.

Parameters:

ParameterTypeDescription
valueint

getPictureFillMode()

public abstract int getPictureFillMode()

Returns or sets the picture fill mode. Read/write PictureFillMode.

Returns: int

setPictureFillMode(int value)

public abstract void setPictureFillMode(int value)

Returns or sets the picture fill mode. Read/write PictureFillMode.

Parameters:

ParameterTypeDescription
valueint

getPicture()

public abstract ISlidesPicture getPicture()

Returns the picture. Read-only ISlidesPicture.

Returns: ISlidesPicture

getCropLeft()

public abstract float getCropLeft()

Returns or sets the number of percents of real image width that are cropped off the left of the picture. Read/write float.

Returns: float

setCropLeft(float value)

public abstract void setCropLeft(float value)

Returns or sets the number of percents of real image width that are cropped off the left of the picture. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getCropTop()

public abstract float getCropTop()

Returns or sets the number of percents of real image height that are cropped off the top of the picture. Read/write float.

Returns: float

setCropTop(float value)

public abstract void setCropTop(float value)

Returns or sets the number of percents of real image height that are cropped off the top of the picture. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getCropRight()

public abstract float getCropRight()

Returns or sets the number of percents of real image width that are cropped off the right of the picture. Read/write float.

Returns: float

setCropRight(float value)

public abstract void setCropRight(float value)

Returns or sets the number of percents of real image width that are cropped off the right of the picture. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getCropBottom()

public abstract float getCropBottom()

Returns or sets the number of percents of real image height that are cropped off the bottom of the picture. Read/write float.

Returns: float

setCropBottom(float value)

public abstract void setCropBottom(float value)

Returns or sets the number of percents of real image height that are cropped off the bottom of the picture. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getStretchOffsetLeft()

public abstract float getStretchOffsetLeft()

Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

Returns: float

setStretchOffsetLeft(float value)

public abstract void setStretchOffsetLeft(float value)

Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getStretchOffsetTop()

public abstract float getStretchOffsetTop()

Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

Returns: float

setStretchOffsetTop(float value)

public abstract void setStretchOffsetTop(float value)

Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getStretchOffsetRight()

public abstract float getStretchOffsetRight()

Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

Returns: float

setStretchOffsetRight(float value)

public abstract void setStretchOffsetRight(float value)

Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getStretchOffsetBottom()

public abstract float getStretchOffsetBottom()

Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

Returns: float

setStretchOffsetBottom(float value)

public abstract void setStretchOffsetBottom(float value)

Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat