Struct ScaleRectangle

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.MediaPlayer.dll
API Level:
5

Represents properties for the relative ROI area based on video size

C#
Copy
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
C#
Copy
public ScaleRectangle(double scaleX, double scaleY, double scaleWidth, double scaleHeight)
Parameters
Type Name Description
System.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.

System.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.

System.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.

System.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.

API Level: 5

Properties

View Source

ScaleHeight

Gets or sets the ScaleHeight.

Declaration
C#
Copy
public double ScaleHeight { get; set; }
Property Value
Type Description
System.Double
API Level: 5
View Source

ScaleWidth

Gets or sets the ScaleWidth.

Declaration
C#
Copy
public double ScaleWidth { get; set; }
Property Value
Type Description
System.Double
API Level: 5
View Source

ScaleX

Gets or sets the ScaleX.

Declaration
C#
Copy
public double ScaleX { get; set; }
Property Value
Type Description
System.Double
API Level: 5
View Source

ScaleY

Gets or sets the ScaleY.

Declaration
C#
Copy
public double ScaleY { get; set; }
Property Value
Type Description
System.Double
API Level: 5