public class RtfPicture extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RtfPicture.PictureType
The image type of the picture.
|
| Modifier and Type | Method and Description |
|---|---|
RtfPicture |
height(double height,
RtfUnit unit)
Height of the image.
|
RtfPicture |
scale(int scaleX,
int scaleY)
Scale the image.
|
RtfPicture |
scaleX(int scale)
Horizontal scaling.
|
RtfPicture |
scaleY(int scale)
Vertical scaling.
|
RtfPicture |
size(double width,
double height,
RtfUnit unit)
Size of the picture.
|
RtfText |
type(RtfPicture.PictureType pictureType)
Sets the type and finish setting a picture.
|
RtfPicture |
width(double width,
RtfUnit unit)
Width of the image.
|
public RtfPicture width(double width, RtfUnit unit)
width - Width of the image.unit - Measurement.this-object.public RtfPicture height(double height, RtfUnit unit)
height - Height of the image.unit - Measurement.this-object.public RtfPicture size(double width, double height, RtfUnit unit)
width - Width of the image.height - Height of the image.unit - Measurement.this-object.public RtfPicture scaleX(int scale)
scale - Scale.this-object.public RtfPicture scaleY(int scale)
scale - Scale.this-object.public RtfPicture scale(int scaleX, int scaleY)
scaleX - Scale for X.scaleY - Scale for Y.this-object.public RtfText type(RtfPicture.PictureType pictureType)
pictureType - Type of this picture. Usually RtfPicture.PictureType.AUTOMATIC is a good choise.Copyright © 2010–2015 Tutego. All rights reserved.