Classes | |
| class | AlignmentVertical |
| class | UniformScale |
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Pdf.AlignmentHorizontal | alignmentHorizontal (self) |
| Pdf.ImageParams.AlignmentVertical | alignmentVertical (self) |
| str | caption (self) |
| ConstVector2f | size (self) |
| Pdf.ImageParams.UniformScale | uniformScale (self) |
Static Protected Attributes | |
| typing | _offsetof_alignmentHorizontal = 48 |
| typing | _offsetof_alignmentVertical = 44 |
| typing | _offsetof_caption = 8 |
| typing | _offsetof_size = 0 |
| typing | _offsetof_uniformScale = 40 |
Generated from: MR::Pdf::ImageParams Parameters to adding image from file
| mrmeshpy.ConstPdf.ConstImageParams.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.Pdf.ConstImageParams) -> None 2. __init__(self: meshlib.mrmeshpy.Pdf.ConstImageParams, arg0: meshlib.mrmeshpy.Pdf.ConstImageParams) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.Pdf.ConstImageParams, size: meshlib.mrmeshpy.ConstVector2f, caption: str, uniformScale: meshlib.mrmeshpy.Pdf.ImageParams.UniformScale, alignmentVertical: meshlib.mrmeshpy.Pdf.ImageParams.AlignmentVertical, alignmentHorizontal: meshlib.mrmeshpy.Pdf.AlignmentHorizontal) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.Pdf.ConstImageParams, : meshlib.mrmeshpy.Pdf.ConstImageParams) -> None
| Pdf.AlignmentHorizontal mrmeshpy.ConstPdf.ConstImageParams.alignmentHorizontal | ( | self | ) |
| Pdf.ImageParams.AlignmentVertical mrmeshpy.ConstPdf.ConstImageParams.alignmentVertical | ( | self | ) |
| str mrmeshpy.ConstPdf.ConstImageParams.caption | ( | self | ) |
caption if not empty - add caption under marks (if exist) or image.
| ConstVector2f mrmeshpy.ConstPdf.ConstImageParams.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)
| Pdf.ImageParams.UniformScale mrmeshpy.ConstPdf.ConstImageParams.uniformScale | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |