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#Copypublic struct ScaleRectangle
Constructors
ScaleRectangle(Double, Double, Double, Double)
Initializes a new instance of the struct with the specified field of view for the spherical video.
Declaration
C#Copypublic 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
Declaration
C#Copypublic double ScaleHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
API Level: 5
Declaration
C#Copypublic double ScaleWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
API Level: 5
Declaration
C#Copypublic double ScaleX { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
API Level: 5
Declaration
C#Copypublic double ScaleY { get; set; }
Property Value
Type | Description |
---|---|
System.Double |