PBL4
Loading...
Searching...
No Matches
display_img.DisplayImg Class Reference

A class to represent and manage image display properties. More...

Public Member Functions

 __init__ (self, w, h, overlap, img, side)
 Constructor for the DisplayImg class.
 
 getImg (self)
 Getter for the image.
 
 getWidth (self)
 Getter for the width of the display.
 
 getHeight (self)
 Getter for the height of the display.
 
 getOverlap (self)
 Getter for the overlap percentage.
 
 getSide (self)
 Getter for the side/orientation of the display.
 

Detailed Description

A class to represent and manage image display properties.

Constructor & Destructor Documentation

◆ __init__()

display_img.DisplayImg.__init__ ( self,
w,
h,
overlap,
img,
side )

Constructor for the DisplayImg class.

Parameters
wThe width of the display area.
hThe height of the display area.
overlapThe overlap percentage for the display area.
imgThe image to be displayed.
sideThe side or orientation of the display.

Member Function Documentation

◆ getHeight()

display_img.DisplayImg.getHeight ( self)

Getter for the height of the display.

Returns
The height of the display area.

◆ getImg()

display_img.DisplayImg.getImg ( self)

Getter for the image.

Returns
The image associated with the display.

◆ getOverlap()

display_img.DisplayImg.getOverlap ( self)

Getter for the overlap percentage.

Returns
The overlap percentage of the display area.

◆ getSide()

display_img.DisplayImg.getSide ( self)

Getter for the side/orientation of the display.

Returns
The side or orientation of the display.

◆ getWidth()

display_img.DisplayImg.getWidth ( self)

Getter for the width of the display.

Returns
The width of the display area.

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