public class PictureFillFormat extends PVIObject implements IPictureFillFormat
Represents a picture fill style.
| Modifier and Type | Method and Description |
|---|---|
float |
getCropBottom()
Returns or sets the number of percents of real image height that are cropped off
the bottom of the picture.
|
float |
getCropLeft()
Returns or sets the number of percents of real image width that are cropped off
the left of the picture.
|
float |
getCropRight()
Returns or sets the number of percents of real image width that are cropped off
the right of the picture.
|
float |
getCropTop()
Returns or sets the number of percents of real image height that are cropped off
the top of the picture.
|
int |
getDpi()
Returns or sets the dpi which is used to fill a picture.
|
ISlidesPicture |
getPicture()
Returns the picture.
|
int |
getPictureFillMode()
Returns or sets the picture fill mode.
|
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.
|
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.
|
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.
|
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.
|
void |
setCropBottom(float value)
Returns or sets the number of percents of real image height that are cropped off
the bottom of the picture.
|
void |
setCropLeft(float value)
Returns or sets the number of percents of real image width that are cropped off
the left of the picture.
|
void |
setCropRight(float value)
Returns or sets the number of percents of real image width that are cropped off
the right of the picture.
|
void |
setCropTop(float value)
Returns or sets the number of percents of real image height that are cropped off
the top of the picture.
|
void |
setDpi(int value)
Returns or sets the dpi which is used to fill a picture.
|
void |
setPictureFillMode(int value)
Returns or sets the picture fill mode.
|
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.
|
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.
|
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.
|
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.
|
equals, getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, getVersion, hashCode, reset_Parent_IPresentationComponentpublic final int getDpi()
Returns or sets the dpi which is used to fill a picture.
Read/write int.
getDpi in interface IPictureFillFormatpublic final void setDpi(int value)
Returns or sets the dpi which is used to fill a picture.
Read/write int.
setDpi in interface IPictureFillFormatpublic final int getPictureFillMode()
Returns or sets the picture fill mode.
Read/write PictureFillMode.
getPictureFillMode in interface IPictureFillFormatpublic final void setPictureFillMode(int value)
Returns or sets the picture fill mode.
Read/write PictureFillMode.
setPictureFillMode in interface IPictureFillFormatpublic final ISlidesPicture getPicture()
Returns the picture.
Read-only ISlidesPicture.
getPicture in interface IPictureFillFormatpublic 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.
getCropLeft in interface IPictureFillFormatpublic 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.
setCropLeft in interface IPictureFillFormatpublic 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.
getCropTop in interface IPictureFillFormatpublic 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.
setCropTop in interface IPictureFillFormatpublic 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.
getCropRight in interface IPictureFillFormatpublic 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.
setCropRight in interface IPictureFillFormatpublic 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.
getCropBottom in interface IPictureFillFormatpublic 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.
setCropBottom in interface IPictureFillFormatpublic 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.
getStretchOffsetLeft in interface IPictureFillFormatpublic 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.
setStretchOffsetLeft in interface IPictureFillFormatpublic 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.
getStretchOffsetTop in interface IPictureFillFormatpublic 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.
setStretchOffsetTop in interface IPictureFillFormatpublic 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.
getStretchOffsetRight in interface IPictureFillFormatpublic 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.
setStretchOffsetRight in interface IPictureFillFormatpublic 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.
getStretchOffsetBottom in interface IPictureFillFormatpublic 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.
setStretchOffsetBottom in interface IPictureFillFormat