blib/lib/Paws/MediaLive/DvbSubDestinationSettings.pm untested

filter: Statementstmt 0.0% 0 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 38 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaLive::DvbSubDestinationSettings;
3 use Moose;
4 has Alignment => (is => 'ro', isa => 'Str', request_name => 'alignment', traits => ['NameInRequest']);
5 has BackgroundColor => (is => 'ro', isa => 'Str', request_name => 'backgroundColor', traits => ['NameInRequest']);
6 has BackgroundOpacity => (is => 'ro', isa => 'Int', request_name => 'backgroundOpacity', traits => ['NameInRequest']);
7 has Font => (is => 'ro', isa => 'Paws::MediaLive::InputLocation', request_name => 'font', traits => ['NameInRequest']);
8 has FontColor => (is => 'ro', isa => 'Str', request_name => 'fontColor', traits => ['NameInRequest']);
9 has FontOpacity => (is => 'ro', isa => 'Int', request_name => 'fontOpacity', traits => ['NameInRequest']);
10 has FontResolution => (is => 'ro', isa => 'Int', request_name => 'fontResolution', traits => ['NameInRequest']);
11 has FontSize => (is => 'ro', isa => 'Str', request_name => 'fontSize', traits => ['NameInRequest']);
12 has OutlineColor => (is => 'ro', isa => 'Str', request_name => 'outlineColor', traits => ['NameInRequest']);
13 has OutlineSize => (is => 'ro', isa => 'Int', request_name => 'outlineSize', traits => ['NameInRequest']);
14 has ShadowColor => (is => 'ro', isa => 'Str', request_name => 'shadowColor', traits => ['NameInRequest']);
15 has ShadowOpacity => (is => 'ro', isa => 'Int', request_name => 'shadowOpacity', traits => ['NameInRequest']);
16 has ShadowXOffset => (is => 'ro', isa => 'Int', request_name => 'shadowXOffset', traits => ['NameInRequest']);
17 has ShadowYOffset => (is => 'ro', isa => 'Int', request_name => 'shadowYOffset', traits => ['NameInRequest']);
18 has TeletextGridControl => (is => 'ro', isa => 'Str', request_name => 'teletextGridControl', traits => ['NameInRequest']);
19 has XPosition => (is => 'ro', isa => 'Int', request_name => 'xPosition', traits => ['NameInRequest']);
20 has YPosition => (is => 'ro', isa => 'Int', request_name => 'yPosition', traits => ['NameInRequest']);
21  
22 1;
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::MediaLive::DvbSubDestinationSettings
29  
30 =head1 USAGE
31  
32 This class represents one of two things:
33  
34 =head3 Arguments in a call to a service
35  
36 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
37 Each attribute should be used as a named argument in the calls that expect this type of object.
38  
39 As an example, if Att1 is expected to be a Paws::MediaLive::DvbSubDestinationSettings object:
40  
41 $service_obj->Method(Att1 => { Alignment => $value, ..., YPosition => $value });
42  
43 =head3 Results returned from an API call
44  
45 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::DvbSubDestinationSettings object:
46  
47 $result = $service_obj->Method(...);
48 $result->Att1->Alignment
49  
50 =head1 DESCRIPTION
51  
52 Dvb Sub Destination Settings
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 Alignment => Str
58  
59 If no explicit xPosition or yPosition is provided, setting alignment to
60 centered will place the captions at the bottom center of the output.
61 Similarly, setting a left alignment will align captions to the bottom
62 left of the output. If x and y positions are given in conjunction with
63 the alignment parameter, the font will be justified (either left or
64 centered) relative to those coordinates. Selecting "smart"
65 justification will left-justify live subtitles and center-justify
66 pre-recorded subtitles. This option is not valid for source captions
67 that are STL or 608/embedded. These source settings are already
68 pre-defined by the caption stream. All burn-in and DVB-Sub font
69 settings must match.
70  
71  
72 =head2 BackgroundColor => Str
73  
74 Specifies the color of the rectangle behind the captions. All burn-in
75 and DVB-Sub font settings must match.
76  
77  
78 =head2 BackgroundOpacity => Int
79  
80 Specifies the opacity of the background rectangle. 255 is opaque; 0 is
81 transparent. Leaving this parameter blank is equivalent to setting it
82 to 0 (transparent). All burn-in and DVB-Sub font settings must match.
83  
84  
85 =head2 Font => L<Paws::MediaLive::InputLocation>
86  
87 External font file used for caption burn-in. File extension must be
88 'ttf' or 'tte'. Although the user can select output fonts for many
89 different types of input captions, embedded, STL and teletext sources
90 use a strict grid system. Using external fonts with these caption
91 sources could cause unexpected display of proportional fonts. All
92 burn-in and DVB-Sub font settings must match.
93  
94  
95 =head2 FontColor => Str
96  
97 Specifies the color of the burned-in captions. This option is not valid
98 for source captions that are STL, 608/embedded or teletext. These
99 source settings are already pre-defined by the caption stream. All
100 burn-in and DVB-Sub font settings must match.
101  
102  
103 =head2 FontOpacity => Int
104  
105 Specifies the opacity of the burned-in captions. 255 is opaque; 0 is
106 transparent. All burn-in and DVB-Sub font settings must match.
107  
108  
109 =head2 FontResolution => Int
110  
111 Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in
112 and DVB-Sub font settings must match.
113  
114  
115 =head2 FontSize => Str
116  
117 When set to auto fontSize will scale depending on the size of the
118 output. Giving a positive integer will specify the exact font size in
119 points. All burn-in and DVB-Sub font settings must match.
120  
121  
122 =head2 OutlineColor => Str
123  
124 Specifies font outline color. This option is not valid for source
125 captions that are either 608/embedded or teletext. These source
126 settings are already pre-defined by the caption stream. All burn-in and
127 DVB-Sub font settings must match.
128  
129  
130 =head2 OutlineSize => Int
131  
132 Specifies font outline size in pixels. This option is not valid for
133 source captions that are either 608/embedded or teletext. These source
134 settings are already pre-defined by the caption stream. All burn-in and
135 DVB-Sub font settings must match.
136  
137  
138 =head2 ShadowColor => Str
139  
140 Specifies the color of the shadow cast by the captions. All burn-in and
141 DVB-Sub font settings must match.
142  
143  
144 =head2 ShadowOpacity => Int
145  
146 Specifies the opacity of the shadow. 255 is opaque; 0 is transparent.
147 Leaving this parameter blank is equivalent to setting it to 0
148 (transparent). All burn-in and DVB-Sub font settings must match.
149  
150  
151 =head2 ShadowXOffset => Int
152  
153 Specifies the horizontal offset of the shadow relative to the captions
154 in pixels. A value of -2 would result in a shadow offset 2 pixels to
155 the left. All burn-in and DVB-Sub font settings must match.
156  
157  
158 =head2 ShadowYOffset => Int
159  
160 Specifies the vertical offset of the shadow relative to the captions in
161 pixels. A value of -2 would result in a shadow offset 2 pixels above
162 the text. All burn-in and DVB-Sub font settings must match.
163  
164  
165 =head2 TeletextGridControl => Str
166  
167 Controls whether a fixed grid size will be used to generate the output
168 subtitles bitmap. Only applicable for Teletext inputs and
169 DVB-Sub/Burn-in outputs.
170  
171  
172 =head2 XPosition => Int
173  
174 Specifies the horizontal position of the caption relative to the left
175 side of the output in pixels. A value of 10 would result in the
176 captions starting 10 pixels from the left of the output. If no explicit
177 xPosition is provided, the horizontal caption position will be
178 determined by the alignment parameter. This option is not valid for
179 source captions that are STL, 608/embedded or teletext. These source
180 settings are already pre-defined by the caption stream. All burn-in and
181 DVB-Sub font settings must match.
182  
183  
184 =head2 YPosition => Int
185  
186 Specifies the vertical position of the caption relative to the top of
187 the output in pixels. A value of 10 would result in the captions
188 starting 10 pixels from the top of the output. If no explicit yPosition
189 is provided, the caption will be positioned towards the bottom of the
190 output. This option is not valid for source captions that are STL,
191 608/embedded or teletext. These source settings are already pre-defined
192 by the caption stream. All burn-in and DVB-Sub font settings must
193 match.
194  
195  
196  
197 =head1 SEE ALSO
198  
199 This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive>
200  
201 =head1 BUGS and CONTRIBUTIONS
202  
203 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
204  
205 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
206  
207 =cut
208