Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, Vector2f size, str caption, bool uniformScaleFromWidth) |
str | caption (self) |
None | caption (self, str arg1) |
Vector2f | size (self) |
None | size (self, Vector2f arg1) |
bool | uniformScaleFromWidth (self) |
None | uniformScaleFromWidth (self, bool arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Pdf.ImageParams | operator (*args, **kwargs) |
Pdf.ImageParams | operator (*args, **kwargs) |
Static Protected Attributes | |
typing | _offsetof_caption = 8 |
typing | _offsetof_size = 0 |
typing | _offsetof_uniformScaleFromWidth = 40 |
Generated from: MR::Pdf::ImageParams Parameters to adding image from file
|
static |
None mrmeshpy.Pdf.ImageParams.__init__ | ( | self | ) |
None mrmeshpy.Pdf.ImageParams.__init__ | ( | self, | |
Vector2f | size, | ||
str | caption, | ||
bool | uniformScaleFromWidth ) |
Implicit aggregate constructor.
str mrmeshpy.Pdf.ImageParams.caption | ( | self | ) |
caption if not empty - add caption under marks (if exist) or image.
None mrmeshpy.Pdf.ImageParams.caption | ( | self, | |
str | arg1 ) |
|
static |
|
static |
Vector2f mrmeshpy.Pdf.ImageParams.size | ( | self | ) |
image size in page space if == {0, 0} - use image size if .x or .y < 0 use the available page size from the current cursor position (caption size is also accounted for)
None mrmeshpy.Pdf.ImageParams.size | ( | self, | |
Vector2f | arg1 ) |
bool mrmeshpy.Pdf.ImageParams.uniformScaleFromWidth | ( | self | ) |
set height to keep same scale as width scale
None mrmeshpy.Pdf.ImageParams.uniformScaleFromWidth | ( | self, | |
bool | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |