a
    ýÞ{b  ã                   @   s   d Z G dd„ dƒZdS )aû  
Screenshot
==========

The :class:`Screenshot` is used for capturing a digital image of what
is currently visible on the monitor.

The default path for taking screenshot is set in each platform implementation.

Simple Examples
---------------

To get the file path::

    >>> screenshot.file_path
    '/sdcard/test.jpg'

To set the file path::

    >>> screenshot.file_path = '/Users/OSXUser/Pictures/screenshot.png'

To take screenshot::

    >>> from plyer import screenshot
    >>> screenshot.capture()
c                   @   sH   e Zd ZdZdZddd„Zdd„ Zedd	„ ƒZej	d
d	„ ƒZdd„ Z
dS )Ú
Screenshotz
    Screenshot facade.
    Ú Nc                 C   s
   || _ d S ©N©Ú
_file_path)ÚselfÚ	file_path© r   úh/Users/vegardjervell/Documents/master/model/venv/lib/python3.9/site-packages/plyer/facades/screenshot.pyÚ__init__$   s    zScreenshot.__init__c                 C   s   |   ¡  d S r   )Ú_capture©r   r   r   r	   Úcapture'   s    zScreenshot.capturec                 C   s   | j S r   r   r   r   r   r	   r   *   s    zScreenshot.file_pathc                 C   s
   || _ dS )z-
        Location of the screenshot.
        Nr   )r   Úlocationr   r   r	   r   .   s    c                 K   s
   t ƒ ‚d S r   )ÚNotImplementedError)r   Úkwargsr   r   r	   r   8   s    zScreenshot._capture)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r
   r   Úpropertyr   Úsetterr   r   r   r   r	   r      s   


	r   N)r   r   r   r   r   r	   Ú<module>   s   