MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Pdf.ImageParams Class Reference

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
 

Detailed Description

Generated from:  MR::Pdf::ImageParams

Parameters to adding image from file

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.Pdf.ImageParams.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.Pdf.ImageParams.__init__ ( self,
Vector2f size,
str caption,
bool uniformScaleFromWidth )
Implicit aggregate constructor.

Member Function Documentation

◆ caption() [1/2]

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

◆ caption() [2/2]

None mrmeshpy.Pdf.ImageParams.caption ( self,
str arg1 )

◆ operator() [1/2]

Pdf.ImageParams mrmeshpy.Pdf.ImageParams.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Pdf.ImageParams mrmeshpy.Pdf.ImageParams.operator ( * args,
** kwargs )
static

◆ size() [1/2]

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)

◆ size() [2/2]

None mrmeshpy.Pdf.ImageParams.size ( self,
Vector2f arg1 )

◆ uniformScaleFromWidth() [1/2]

bool mrmeshpy.Pdf.ImageParams.uniformScaleFromWidth ( self)
set height to keep same scale as width scale

◆ uniformScaleFromWidth() [2/2]

None mrmeshpy.Pdf.ImageParams.uniformScaleFromWidth ( self,
bool arg1 )

Member Data Documentation

◆ _offsetof_caption

typing mrmeshpy.Pdf.ImageParams._offsetof_caption = 8
staticprotected

◆ _offsetof_size

typing mrmeshpy.Pdf.ImageParams._offsetof_size = 0
staticprotected

◆ _offsetof_uniformScaleFromWidth

typing mrmeshpy.Pdf.ImageParams._offsetof_uniformScaleFromWidth = 40
staticprotected

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