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_IPresentationComponent
public final int getDpi()
Returns or sets the dpi which is used to fill a picture.
Read/write int
.
getDpi
in interface IPictureFillFormat
public final void setDpi(int value)
Returns or sets the dpi which is used to fill a picture.
Read/write int
.
setDpi
in interface IPictureFillFormat
public final int getPictureFillMode()
Returns or sets the picture fill mode.
Read/write PictureFillMode
.
getPictureFillMode
in interface IPictureFillFormat
public final void setPictureFillMode(int value)
Returns or sets the picture fill mode.
Read/write PictureFillMode
.
setPictureFillMode
in interface IPictureFillFormat
public final ISlidesPicture getPicture()
Returns the picture.
Read-only ISlidesPicture
.
getPicture
in interface IPictureFillFormat
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
.
getCropLeft
in interface IPictureFillFormat
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
.
setCropLeft
in interface IPictureFillFormat
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
.
getCropTop
in interface IPictureFillFormat
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
.
setCropTop
in interface IPictureFillFormat
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
.
getCropRight
in interface IPictureFillFormat
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
.
setCropRight
in interface IPictureFillFormat
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
.
getCropBottom
in interface IPictureFillFormat
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
.
setCropBottom
in interface IPictureFillFormat
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
.
getStretchOffsetLeft
in interface IPictureFillFormat
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
.
setStretchOffsetLeft
in interface IPictureFillFormat
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
.
getStretchOffsetTop
in interface IPictureFillFormat
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
.
setStretchOffsetTop
in interface IPictureFillFormat
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
.
getStretchOffsetRight
in interface IPictureFillFormat
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
.
setStretchOffsetRight
in interface IPictureFillFormat
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
.
getStretchOffsetBottom
in interface IPictureFillFormat
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
.
setStretchOffsetBottom
in interface IPictureFillFormat