MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstPdf.ImageParams Class Reference
Inheritance diagram for mrmeshpy.ConstPdf.ImageParams:

Classes

class  AlignmentVertical
class  UniformScale

Public Member Functions

None __init__ (Pdf.ImageParams self)
None __init__ (Pdf.ImageParams self, Pdf.ConstImageParams arg0)
None __init__ (Pdf.ImageParams self, ConstVector2f size, str caption, Pdf.ImageParams.UniformScale uniformScale, Pdf.ImageParams.AlignmentVertical alignmentVertical, Pdf.AlignmentHorizontal alignmentHorizontal)
Pdf.ImageParams assign (Pdf.ImageParams self, Pdf.ConstImageParams other)
str caption (self)
None caption (self, str arg1)
Vector2f size (self)
None size (self, ConstVector2f arg1)
Public Member Functions inherited from mrmeshpy.Pdf.ConstImageParams
 __init__ (self, *args, **kwargs)
Pdf.AlignmentHorizontal alignmentHorizontal (self)
Pdf.ImageParams.AlignmentVertical alignmentVertical (self)
Pdf.ImageParams.UniformScale uniformScale (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.Pdf.ConstImageParams
typing _offsetof_alignmentHorizontal = 48
typing _offsetof_alignmentVertical = 44
typing _offsetof_caption = 8
typing _offsetof_size = 0
typing _offsetof_uniformScale = 40

Detailed Description

Generated from:  MR::Pdf::ImageParams

Parameters to adding image from file

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.ConstPdf.ImageParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.ConstPdf.ImageParams.__init__ ( Pdf.ImageParams self)

◆ __init__() [3/4]

None mrmeshpy.ConstPdf.ImageParams.__init__ ( Pdf.ImageParams self,
Pdf.ConstImageParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.ConstPdf.ImageParams.__init__ ( Pdf.ImageParams self,
ConstVector2f size,
str caption,
Pdf.ImageParams.UniformScale uniformScale,
Pdf.ImageParams.AlignmentVertical alignmentVertical,
Pdf.AlignmentHorizontal alignmentHorizontal )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

Pdf.ImageParams mrmeshpy.ConstPdf.ImageParams.assign ( Pdf.ImageParams self,
Pdf.ConstImageParams other )

◆ caption() [1/2]

str mrmeshpy.ConstPdf.ImageParams.caption ( self)
caption if not empty - add caption under marks (if exist) or image.

Reimplemented from mrmeshpy.Pdf.ConstImageParams.

◆ caption() [2/2]

None mrmeshpy.ConstPdf.ImageParams.caption ( self,
str arg1 )
caption if not empty - add caption under marks (if exist) or image.

Reimplemented from mrmeshpy.Pdf.ConstImageParams.

◆ size() [1/2]

Vector2f mrmeshpy.ConstPdf.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)

Reimplemented from mrmeshpy.Pdf.ConstImageParams.

◆ size() [2/2]

None mrmeshpy.ConstPdf.ImageParams.size ( self,
ConstVector2f arg1 )
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)

Reimplemented from mrmeshpy.Pdf.ConstImageParams.


The documentation for this class was generated from the following file: