|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
com.aspose.slides.PictureFrame
public class PictureFrame
Represents a PictureFrame shape.
Method Summary | |
---|---|
TextFrame |
addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. |
byte |
getBrightness()
Returns or sets the brightness (0-100%) of a picture. |
int |
getColorType()
Returns or sets the type of color transformation applied to a picture. |
byte |
getContrast()
Returns or sets the contrast (0-100%) of a picture. |
double |
getCropBottom()
Returns or sets the number of percents of real image height that are cropped off the bottom of the picture. |
double |
getCropLeft()
Returns or sets the number of percents of real image width that are cropped off the left of the picture. |
double |
getCropRight()
Returns or sets the number of percents of real image width that are cropped off the right of the picture. |
double |
getCropTop()
Returns or sets the number of percents of real image height that are cropped off the top of the picture. |
java.lang.String |
getPictureFileName()
Returns or sets file name of a linked picture. |
int |
getPictureId()
Returns or sets the picture id for a PictureFrame. |
boolean |
getPictureLinked()
Determines whether the picture is linked to external file. |
RecolorTable |
getRecolor()
Returns the table of colors replacements for recoloring metafiles. |
java.awt.Color |
getTransparentColor()
|
boolean |
isPictureLinked()
Deprecated. |
void |
serialize(java.io.OutputStream stream)
|
void |
setBrightness(byte value)
|
void |
setColorType(int value)
|
void |
setContrast(byte value)
|
void |
setCropBottom(double value)
|
void |
setCropLeft(double value)
|
void |
setCropRight(double value)
|
void |
setCropTop(double value)
|
void |
setPictureFileName(java.lang.String value)
|
void |
setPictureId(int value)
|
void |
setTransparentColor(java.awt.Color value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void serialize(java.io.OutputStream stream)
serialize
in class Shape
public double getCropTop()
Returns or sets the number of percents of real image height that are cropped off
the top of the picture. Read/write double
.
public void setCropTop(double value)
public double getCropBottom()
Returns or sets the number of percents of real image height that are cropped off
the bottom of the picture. Read/write double
.
public void setCropBottom(double value)
public double getCropLeft()
Returns or sets the number of percents of real image width that are cropped off
the left of the picture. Read/write double
.
public void setCropLeft(double value)
public double getCropRight()
Returns or sets the number of percents of real image width that are cropped off
the right of the picture. Read/write double
.
public void setCropRight(double value)
public java.awt.Color getTransparentColor()
public void setTransparentColor(java.awt.Color value)
public byte getBrightness()
Returns or sets the brightness (0-100%) of a picture.
Read/write byte
.
public void setBrightness(byte value)
public byte getContrast()
Returns or sets the contrast (0-100%) of a picture.
Read/write byte
.
public void setContrast(byte value)
public int getColorType()
Returns or sets the type of color transformation applied to a picture.
Read/write PictureColorType
.
public void setColorType(int value)
public RecolorTable getRecolor()
Returns the table of colors replacements for recoloring metafiles.
Read-only RecolorTable
.
public int getPictureId()
Returns or sets the picture id for a PictureFrame. Read/write int
.
public void setPictureId(int value)
public boolean getPictureLinked()
Determines whether the picture is linked to external file.
Read-only bool
.
@Deprecated public boolean isPictureLinked()
Determines whether the picture is linked to external file.
Read-only bool
.
public java.lang.String getPictureFileName()
Returns or sets file name of a linked picture.
Read/write string
.
public void setPictureFileName(java.lang.String value)
public TextFrame addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. If shape already has TextFrame then do nothing.
addTextFrame
in class Shape
text
- Default text for a new TextFrame.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |