MeiCam SDK For Web  3.12.1
Public Member Functions | List of all members
NvsLiveWindow Class Reference

liveWindow video preview window More...

Public Member Functions

 constructor ()
 
 setFillMode (fillMode)
 Sets the fill mode of LiveWindow. More...
 
 getFillMode ()
 get fill mode More...
 
 mapCanonicalToView (ptCanonical)
 timeline coordinates to view coordinates More...
 
 mapViewToCanonical (ptView)
 view coordinates to timeline coordinates More...
 
 mapNormalizedToView (ptNormalized)
 normalized coordinates to view coordinates More...
 
 mapViewToNormalized (ptView)
 view coordinates to normalized view coordinates More...
 
 setBackgroundColor (color)
 set background color More...
 
 getBackgroundColor ()
 Get the current text background color value. More...
 
 getPixelColor (ptView)
 Get pixel color. More...
 

Detailed Description

liveWindow video preview window

Member Function Documentation

◆ constructor()

NvsLiveWindow::constructor ( )
inline

@constructor

◆ getBackgroundColor()

NvsLiveWindow::getBackgroundColor ( )
inline

Get the current text background color value.

Returns
{NvsColor} Returns the NvsColor object representing the current background color.

◆ getFillMode()

NvsLiveWindow::getFillMode ( )
inline

get fill mode

Returns
{Number} fill mode

◆ getPixelColor()

NvsLiveWindow::getPixelColor (   ptView)
inline

Get pixel color.

Parameters
{NvsPointF}ptView The NvsPointF
Returns
{NvsColor} Returns the NvsColor

◆ mapCanonicalToView()

NvsLiveWindow::mapCanonicalToView (   ptCanonical)
inline

timeline coordinates to view coordinates

Parameters
{NvsPointF}ptCanonical timeline coordinates
Returns
{NvsPointF} view coordinates

◆ mapNormalizedToView()

NvsLiveWindow::mapNormalizedToView (   ptNormalized)
inline

normalized coordinates to view coordinates

Parameters
{NvsPointF}ptNormalized normalized coordinates
Returns
{NvsPointF} view coordinates

◆ mapViewToCanonical()

NvsLiveWindow::mapViewToCanonical (   ptView)
inline

view coordinates to timeline coordinates

Parameters
{NvsPointF}ptView view coordinates
Returns
{NvsPointF} timeline coordinates

◆ mapViewToNormalized()

NvsLiveWindow::mapViewToNormalized (   ptView)
inline

view coordinates to normalized view coordinates

Parameters
{NvsPointF}view coordinates
Returns
{NvsPointF} normalized coordinates

◆ setBackgroundColor()

NvsLiveWindow::setBackgroundColor (   color)
inline

set background color

Parameters
{NvsColor}color background color
Returns
{}

◆ setFillMode()

NvsLiveWindow::setFillMode (   fillMode)
inline

Sets the fill mode of LiveWindow.

Parameters
{Number}fillMode fill mode
Returns
{Void}

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