FoxitPDFSDKforWeb
v10.0.0
Foxit PDF SDK for Web
|
Public Member Functions | |
getBitmap (scale, rotation=0, type='canvas') | |
Render graphics object. More... | |
getBorderColor () | |
Get the border color of this graphics object, for path object. More... | |
getBorderDashes () | |
Get the dash array of this graphics object, for path object. More... | |
getBorderStyle () | |
Get the border style of this path object, dash or solid. More... | |
getBorderWidth () | |
Get the border width of this graphics object, for path object. More... | |
getDeviceMatrix () | |
Get the device matrix of this graphics object, in device coordinate. More... | |
getFillColor () | |
Get the fill color of this graphics object, for path object. More... | |
getId () | |
Get the identity string of this graphics object. More... | |
getMatrix () | |
Get the matrix of this graphics object, in PDF coordinate. More... | |
getOpacity () | |
Get the opacity of this graphics object. More... | |
getPDFPage () | |
Get the associated pdf page of this graphics object. More... | |
getRect () | |
Get the rectangle of this graphics object. More... | |
getType () | |
Get the type of this graphics object. More... | |
moveToPosition (type, graphicObj) | |
Sets the position of this graphics object. More... | |
setBorderColor (value) | |
Set the border color of this graphics object, for path object. More... | |
setBorderStyle (value, dashes) | |
Set the border style of this graphics object, for path object. More... | |
setBorderWidth (value) | |
Set the border width of this graphics object, for path object. More... | |
setFillColor (value) | |
Set the fill color of this graphics object, for path object. More... | |
setMatrix (matrix) | |
Set the matrix of this graphics object. More... | |
setOpacity (value) | |
Set the fill color of this graphics object. More... | |
setRect (rect) | |
Set the rectangle of this graphics object, move it to the specified rectangle. More... | |
PDF graphics object
|
inline |
Render graphics object.
scale | number - The specified page display scale. |
rotation | number - The page view rotation. |
[type='canvas'] | 'canvas'|'image'|'buffer' - The data type, valid value: 'canvas' | 'image' | 'buffer'. |
|
inline |
Get the border color of this graphics object, for path object.
Form XObjet graphics object, path graphics object and text graphics object can have this property.
|
inline |
Get the dash array of this graphics object, for path object.
Form XObjet graphics object, path graphics object and text graphics object can have this property.
|
inline |
Get the border style of this path object, dash or solid.
Form XObjet graphics object, path graphics object and text graphics object can have this property.
|
inline |
Get the border width of this graphics object, for path object.
Form XObjet graphics object, path graphics object and text graphics object can have this property.
|
inline |
Get the device matrix of this graphics object, in device coordinate.
|
inline |
Get the fill color of this graphics object, for path object.
Form XObjet graphics object, path graphics object and text graphics object can have this property.
|
inline |
Get the identity string of this graphics object.
|
inline |
Get the matrix of this graphics object, in PDF coordinate.
|
inline |
Get the opacity of this graphics object.
|
inline |
Get the associated pdf page of this graphics object.
|
inline |
Get the rectangle of this graphics object.
|
inline |
Get the type of this graphics object.
|
inline |
Sets the position of this graphics object.
type | PosType - The position Type. Please refer to PosType |
graphicObject | object - The other graphics object. |
|
inline |
Set the border color of this graphics object, for path object.
Form XObjet graphics object, path graphics object and text graphics object can set this property.
value | number - The border color, format as 0xFFRRGGBB. |
|
inline |
Set the border style of this graphics object, for path object.
Form XObjet graphics object, path graphics object and text graphics object can set this property.
value | number - The border style, 1 for dash, 0 for solid. |
dashes | number[] - The dash array. |
|
inline |
Set the border width of this graphics object, for path object.
Form XObjet graphics object, path graphics object and text graphics object can set this property.
value | number - The border width. |
|
inline |
Set the fill color of this graphics object, for path object.
Form XObjet graphics object, path graphics object and text graphics object can set this property.
value | number - The fill color, format as 0xxxRRGGBB. 0 for no fill color, otherwise alpha will be set to 0xFF. |
|
inline |
|
inline |
Set the fill color of this graphics object.
value | number - The new opacity value. Valid range: 0.0 to 1.0. 0.0 means full transparency and 1.0 means full opaque. |
|
inline |
Set the rectangle of this graphics object, move it to the specified rectangle.
rect | PDFRect - Specifies the rectangle on page in PDF coordination system. |