|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetFillMode () |
| Get fill mode. More... | |
| def | GetPathData () |
| Get the path data. More... | |
| def | GetStrokeState () |
| Get stroke state. More... | |
| def | SetFillMode (fill_mode) |
| Set fill mode. More... | |
| def | SetPathData (path_data) |
| Set the path data. More... | |
| def | SetStrokeState (is_stroke) |
| Set stroke state. More... | |
Path graphics object is a kind of PDF graphics object, so class PathObject is derived from class GraphicsObject . It offers functions to get/set path graphics object's data.
To create a new path graphics object, please use function fsdk.PathObjectCreate and then use setting functions to set information to the new path graphics object. Function fsdk.PathObjectCreateFromTextObject can be used to create a path graphics object from a text graphics object.
| def fsdk.PathObject.GetFillMode | ( | ) |
Get fill mode.
| def fsdk.PathObject.GetPathData | ( | ) |
Get the path data.
| def fsdk.PathObject.GetStrokeState | ( | ) |
Get stroke state.
| def fsdk.PathObject.SetFillMode | ( | fill_mode | ) |
Set fill mode.
| [in] | fill_mode | Fill mode. Please refer to values starting from fsdk.E_FillModeNone and this should be one of these values. |
| def fsdk.PathObject.SetPathData | ( | path_data | ) |
Set the path data.
| [in] | path_data | A valid path object which represents the path data to be set. |
| def fsdk.PathObject.SetStrokeState | ( | is_stroke | ) |
Set stroke state.
| [in] | is_stroke | true means current path graphics object is to be stroked. false means current path graphics object is not to be stroked. |