Interface AlphaBlending

    • Method Detail

      • setMaster

        void setMaster​(HubPort source,
                       int zOrder)
        Sets the source port that will be the master entry to the mixer
        Parameters:
        source - The reference to the HubPort setting as master port
        zOrder - The order in z to draw the master image
      • setMaster

        void setMaster​(Transaction tx,
                       HubPort source,
                       int zOrder)
        Sets the source port that will be the master entry to the mixer
        Parameters:
        source - The reference to the HubPort setting as master port
        zOrder - The order in z to draw the master image
      • setPortProperties

        void setPortProperties​(float relativeX,
                               float relativeY,
                               int zOrder,
                               float relativeWidth,
                               float relativeHeight,
                               HubPort port)
        Configure the blending mode of one port.
        Parameters:
        relativeX - The x position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.
        relativeY - The y position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.
        zOrder - The order in z to draw the images. The greatest value of z is in the top.
        relativeWidth - The image width relative to the master port width. Values from 0 to 1 are accepted.
        relativeHeight - The image height relative to the master port height. Values from 0 to 1 are accepted.
        port - The reference to the confingured port.
      • setPortProperties

        void setPortProperties​(float relativeX,
                               float relativeY,
                               int zOrder,
                               float relativeWidth,
                               float relativeHeight,
                               HubPort port,
                               Continuation<Void> cont)
        Asynchronous version of setPortProperties: Continuation.onSuccess(F) is called when the action is done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.
        Parameters:
        relativeX - The x position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.
        relativeY - The y position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.
        zOrder - The order in z to draw the images. The greatest value of z is in the top.
        relativeWidth - The image width relative to the master port width. Values from 0 to 1 are accepted.
        relativeHeight - The image height relative to the master port height. Values from 0 to 1 are accepted.
        port - The reference to the confingured port.
        See Also:
        setPortProperties(float, float, int, float, float, org.kurento.client.HubPort)
      • setPortProperties

        void setPortProperties​(Transaction tx,
                               float relativeX,
                               float relativeY,
                               int zOrder,
                               float relativeWidth,
                               float relativeHeight,
                               HubPort port)
        Configure the blending mode of one port.
        Parameters:
        relativeX - The x position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.
        relativeY - The y position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.
        zOrder - The order in z to draw the images. The greatest value of z is in the top.
        relativeWidth - The image width relative to the master port width. Values from 0 to 1 are accepted.
        relativeHeight - The image height relative to the master port height. Values from 0 to 1 are accepted.
        port - The reference to the confingured port.