PictureFillFormat

Inheritance: java.lang.Object, com.aspose.slides.PVIObject

All Implemented Interfaces: com.aspose.slides.IPictureFillFormat

public final class PictureFillFormat extends PVIObject implements IPictureFillFormat

Represents a picture fill style.

Methods

MethodDescription
getVersion()
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.

getVersion()

public long getVersion()

Version. Read-only long.

Returns: long

getDpi()

public final int getDpi()

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

Returns: int

setDpi(int value)

public final void setDpi(int value)

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

Parameters:

ParameterTypeDescription
valueint

getPictureFillMode()

public final int getPictureFillMode()

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

Returns: int

setPictureFillMode(int value)

public final void setPictureFillMode(int value)

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

Parameters:

ParameterTypeDescription
valueint

getPicture()

public final ISlidesPicture getPicture()

Returns the picture. Read-only ISlidesPicture.

Returns: ISlidesPicture

getCropLeft()

public final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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