Package | Description |
---|---|
com.foxit.gsdk.image | |
com.foxit.gsdk.pdf | |
com.foxit.gsdk.pdf.annots | |
com.foxit.gsdk.utils |
Modifier and Type | Method and Description |
---|---|
void |
Bitmap.fillRect(long color,
Rect rect)
Fill current bitmap with a specific color.
|
void |
Bitmap.stretchTo(Bitmap dstBitmap,
int dstLeft,
int dstTop,
int dstWidth,
int dstHeight,
Rect dstClipRect,
int interpolation)
Stretch current bitmap into a new bitmap with different size.
|
void |
Bitmap.transformTo(Bitmap dstBitmap,
Matrix matrix,
Rect dstClipRect,
int interpolation)
Transform current bitmap into a new bitmap.
|
Modifier and Type | Method and Description |
---|---|
Rect |
Font.getCharBBox(char unicode)
Get the specific character bounding box of the font.
|
Modifier and Type | Method and Description |
---|---|
void |
Renderer.drawBitmap(java.awt.Point dstPt,
Bitmap srcBitmap,
Rect srcRect)
Render a bitmap object.
|
void |
Renderer.setClipRect(Rect clipRect)
Set current clipping rectangle into a
Renderer object. |
Matrix |
PDFPage.transformDeviceToPage(Rect srcRect,
RectF dstRect,
int rotation)
Calculate transformation matrix from device coordinate to PDF page
coordinate.
|
Matrix |
PDFPage.transformPageToDevice(RectF srcRect,
Rect dstRect,
int rotation)
Calculate transformation matrix from PDF page coordinate to device
coordinate.
|
Modifier and Type | Method and Description |
---|---|
Rect |
Annot.getDeviceRect(boolean bTransformIcon,
Matrix matrix)
Get the rectangle of current PDF annotation in device coordinations.
|
Modifier and Type | Method and Description |
---|---|
void |
Rect.set(Rect src)
Set the coordinates from source rectangle into this rectangle.
|
Constructor and Description |
---|
Rect(Rect other)
Construct a
Rect object with the values in the specified
rectangle. |