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

NameTypeAccessDescription
dpiintRead/WriteReturns or sets the dpi which is used to fill a picture.
pictureFillModePictureFillModeRead/WriteReturns or sets the picture fill mode.
pictureISlidesPictureReadReturns the picture.
cropLeftfloatRead/WriteReturns or sets the number of percents of real image width that are cropped off the left of the picture.
cropTopfloatRead/WriteReturns or sets the number of percents of real image height that are cropped off the top of the picture.
cropRightfloatRead/WriteReturns or sets the number of percents of real image width that are cropped off the right of the picture.
cropBottomfloatRead/WriteReturns or sets the number of percents of real image height that are cropped off the bottom of the picture.
stretchOffsetLeftfloatRead/WriteReturns 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.
stretchOffsetTopfloatRead/WriteReturns 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.
stretchOffsetRightfloatRead/WriteReturns 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.
stretchOffsetBottomfloatRead/WriteReturns 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.
tileOffsetXfloatRead/WriteReturns or sets the horizontal offset of the texture from the shape’s origin in points.
tileOffsetYfloatRead/WriteReturns or sets the vertical offset of the texture from the shape’s origin in points.
tileScaleXfloatRead/WriteReturns or sets the horizontal scale for the texture fill as a percentage.
tileScaleYfloatRead/WriteReturns or sets the vertical scale for the texture fill as a percentage.
tileAlignmentRectangleAlignmentRead/WriteReturns or sets how the texture is aligned within the shape.
tileFlipTileFlipRead/WriteFlips the texture tile around its horizontal, vertical or both axis.

Methods

SignatureDescription
getDpi() → intReturns 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() → PictureFillModeReturns or sets the picture fill mode.
setPictureFillMode(value: PictureFillMode)Sets the picture fill mode.
getPicture() → ISlidesPictureReturns the picture.
getCropLeft() → floatReturns 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() → floatReturns 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() → floatReturns 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() → floatReturns 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() → floatReturns 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() → floatReturns 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() → floatReturns 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() → floatReturns 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() → floatReturns 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() → floatReturns 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() → floatReturns 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() → floatReturns 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() → RectangleAlignmentReturns or sets how the texture is aligned within the shape.
setTileAlignment(value: RectangleAlignment)Sets how the texture is aligned within the shape.
getTileFlip() → TileFlipFlips the texture tile around its horizontal, vertical or both axis.
setTileFlip(value: TileFlip)Sets the tile flip mode.

See Also

 English