Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::Rectangle
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::Rectangle
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/rectangle.rb
Overview
Describes the properties of a rectangular window applied to the input media before processing it.
Instance Attribute Summary collapse
-
#height ⇒ String
can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
-
#left ⇒ String
absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
-
#top ⇒ String
absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
-
#width ⇒ String
can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Rectangle class as Ruby Hash.
Instance Attribute Details
#height ⇒ String
can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
34 35 36 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/rectangle.rb', line 34 def height @height end |
#left ⇒ String
absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
19 20 21 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/rectangle.rb', line 19 def left @left end |
#top ⇒ String
absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
24 25 26 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/rectangle.rb', line 24 def top @top end |
#width ⇒ String
can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).
29 30 31 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/rectangle.rb', line 29 def width @width end |
Class Method Details
.mapper ⇒ Object
Mapper for Rectangle class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/rectangle.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Rectangle', type: { name: 'Composite', class_name: 'Rectangle', model_properties: { left: { client_side_validation: true, required: false, serialized_name: 'left', type: { name: 'String' } }, top: { client_side_validation: true, required: false, serialized_name: 'top', type: { name: 'String' } }, width: { client_side_validation: true, required: false, serialized_name: 'width', type: { name: 'String' } }, height: { client_side_validation: true, required: false, serialized_name: 'height', type: { name: 'String' } } } } } end |