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
public struct ScaleRectangle
Constructors
View SourceScaleRectangle(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. |
API Level: 5
Properties
View SourceScaleHeight
Gets or sets the ScaleHeight.
Declaration
public double ScaleHeight { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: 5
View SourceScaleWidth
Gets or sets the ScaleWidth.
Declaration
public double ScaleWidth { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: 5
View SourceScaleX
Gets or sets the ScaleX.
Declaration
public double ScaleX { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: 5
View SourceScaleY
Gets or sets the ScaleY.
Declaration
public double ScaleY { get; set; }
Property Value
Type | Description |
---|---|
Double |