Struct ScaleRectangle

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.MediaPlayer.dll

    Represents properties for the relative ROI area based on video size

    public struct ScaleRectangle

    Constructors

    View Source

    ScaleRectangle(double, double, double, double)

    Initializes a new instance of the struct with the specified field of view for the spherical video.

    Declaration
    public ScaleRectangle(double scaleX, double scaleY, double scaleWidth, double scaleHeight)
    Parameters
    Type Name Description
    double scaleX

    The ratio expressed as a decimal of x coordinate to the video width. (x/video width) x coordinate means the base point located lower-left corner of the video area. valid range is [0, 1]. Default value is 0.

    double scaleY

    The ratio expressed as a decimal of y coordinate to the video height. (y/video height) y coordinate means the base point located lower-left corner of the video area. valid range is [0, 1]. Default value is 0.

    double scaleWidth

    The ratio expressed as a decimal of ROI width to the video width. (ROI width/video width) valid range is (0, 1]. Default value is 1.

    double scaleHeight

    The ratio expressed as a decimal of ROI height to the video height. (ROI height/video height) valid range is (0, 1]. Default value is 1.

    Properties

    View Source

    ScaleHeight

    Gets or sets the ScaleHeight.

    Declaration
    public double ScaleHeight { readonly get; set; }
    Property Value
    Type Description
    double
    View Source

    ScaleWidth

    Gets or sets the ScaleWidth.

    Declaration
    public double ScaleWidth { readonly get; set; }
    Property Value
    Type Description
    double
    View Source

    ScaleX

    Gets or sets the ScaleX.

    Declaration
    public double ScaleX { readonly get; set; }
    Property Value
    Type Description
    double
    View Source

    ScaleY

    Gets or sets the ScaleY.

    Declaration
    public double ScaleY { readonly get; set; }
    Property Value
    Type Description
    double
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX