IPictureFillFormat
Overview
IPictureFillFormat is an interface in Aspose.Slides FOSS for Java.
Inherits from: IFillParamSource.
Represents a picture fill style.
This interface declares 33 methods for IPictureFillFormat objects in Java programs.
Available methods include: getCropBottom, getCropLeft, getCropRight, getCropTop, getDpi, getPicture, getPictureFillMode, getStretchOffsetBottom, getStretchOffsetLeft, getStretchOffsetRight, getStretchOffsetTop, getTileAlignment, and 21 additional methods.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: cropBottom, cropLeft, cropRight, cropTop, dpi, picture, and 11 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
dpi | int | Read/Write | Returns or sets the dpi which is used to fill a picture. |
pictureFillMode | PictureFillMode | Read/Write | Returns or sets the picture fill mode. |
picture | ISlidesPicture | Read | Returns the picture. |
cropLeft | float | Read/Write | Returns or sets the number of percents of real image width that are cropped off the left of the picture. |
cropTop | float | Read/Write | Returns or sets the number of percents of real image height that are cropped off the top of the picture. |
cropRight | float | Read/Write | Returns or sets the number of percents of real image width that are cropped off the right of the picture. |
cropBottom | float | Read/Write | Returns or sets the number of percents of real image height that are cropped off the bottom of the picture. |
stretchOffsetLeft | float | Read/Write | 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. |
stretchOffsetTop | float | Read/Write | 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. |
stretchOffsetRight | float | Read/Write | 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. |
stretchOffsetBottom | float | Read/Write | 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. |
tileOffsetX | float | Read/Write | Returns or sets the horizontal offset of the texture from the shape’s origin in points. |
tileOffsetY | float | Read/Write | Returns or sets the vertical offset of the texture from the shape’s origin in points. |
tileScaleX | float | Read/Write | Returns or sets the horizontal scale for the texture fill as a percentage. |
tileScaleY | float | Read/Write | Returns or sets the vertical scale for the texture fill as a percentage. |
tileAlignment | RectangleAlignment | Read/Write | Returns or sets how the texture is aligned within the shape. |
tileFlip | TileFlip | Read/Write | Flips the texture tile around its horizontal, vertical or both axis. |
Methods
| Signature | Description |
|---|---|
getDpi() → int | Returns or sets the dpi which is used to fill a picture. |
setDpi(value: int) | Sets the dpi which is used to fill a picture. |
getPictureFillMode() → PictureFillMode | Returns or sets the picture fill mode. |
setPictureFillMode(value: PictureFillMode) | Sets the picture fill mode. |
getPicture() → ISlidesPicture | Returns the picture. |
getCropLeft() → float | Returns or sets the number of percents of real image width that are cropped off the left of the picture. |
setCropLeft(value: float) | Sets the number of percents of real image width that are cropped off the left of the picture. |
getCropTop() → float | Returns or sets the number of percents of real image height that are cropped off the top of the picture. |
setCropTop(value: float) | Sets the number of percents of real image height that are cropped off the top of the picture. |
getCropRight() → float | Returns or sets the number of percents of real image width that are cropped off the right of the picture. |
setCropRight(value: float) | Sets the number of percents of real image width that are cropped off the right of the picture. |
getCropBottom() → float | Returns or sets the number of percents of real image height that are cropped off the bottom of the picture. |
setCropBottom(value: float) | Sets the number of percents of real image height that are cropped off the bottom of the picture. |
getStretchOffsetLeft() → float | 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(value: float) | Sets left edge of the fill rectangle defined by a percentage offset from the left edge of the shape’s bounding box. |
getStretchOffsetTop() → float | 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(value: float) | Sets top edge of the fill rectangle defined by a percentage offset from the top edge of the shape’s bounding box. |
getStretchOffsetRight() → float | 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(value: float) | Sets right edge of the fill rectangle defined by a percentage offset from the right edge of the shape’s bounding box. |
getStretchOffsetBottom() → float | 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(value: float) | Sets bottom edge of the fill rectangle defined by a percentage offset from the bottom edge of the shape’s bounding box. |
getTileOffsetX() → float | Returns or sets the horizontal offset of the texture from the shape’s origin in points. |
setTileOffsetX(value: float) | Sets the horizontal offset of the texture from the shape’s origin in points. |
getTileOffsetY() → float | Returns or sets the vertical offset of the texture from the shape’s origin in points. |
setTileOffsetY(value: float) | Sets the vertical offset of the texture from the shape’s origin in points. |
getTileScaleX() → float | Returns or sets the horizontal scale for the texture fill as a percentage. |
setTileScaleX(value: float) | Sets the horizontal scale for the texture fill as a percentage. |
getTileScaleY() → float | Returns or sets the vertical scale for the texture fill as a percentage. |
setTileScaleY(value: float) | Sets the vertical scale for the texture fill as a percentage. |
getTileAlignment() → RectangleAlignment | Returns or sets how the texture is aligned within the shape. |
setTileAlignment(value: RectangleAlignment) | Sets how the texture is aligned within the shape. |
getTileFlip() → TileFlip | Flips the texture tile around its horizontal, vertical or both axis. |
setTileFlip(value: TileFlip) | Sets the tile flip mode. |