« blib/lib/Paws/MediaLive/StartTimecode.pm
↑ Summary
blib/lib/Paws/MediaLive/StaticImageDeactivateScheduleActionSettings.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaLive::StaticImageActivateScheduleActionSettings; | ||
| 3 | use Moose; | ||
| 4 | has Duration => (is => 'ro', isa => 'Int', request_name => 'duration', traits => ['NameInRequest']); | ||
| 5 | has FadeIn => (is => 'ro', isa => 'Int', request_name => 'fadeIn', traits => ['NameInRequest']); | ||
| 6 | has FadeOut => (is => 'ro', isa => 'Int', request_name => 'fadeOut', traits => ['NameInRequest']); | ||
| 7 | has Height => (is => 'ro', isa => 'Int', request_name => 'height', traits => ['NameInRequest']); | ||
| 8 | has Image => (is => 'ro', isa => 'Paws::MediaLive::InputLocation', request_name => 'image', traits => ['NameInRequest'], required => 1); | ||
| 9 | has ImageX => (is => 'ro', isa => 'Int', request_name => 'imageX', traits => ['NameInRequest']); | ||
| 10 | has ImageY => (is => 'ro', isa => 'Int', request_name => 'imageY', traits => ['NameInRequest']); | ||
| 11 | has Layer => (is => 'ro', isa => 'Int', request_name => 'layer', traits => ['NameInRequest']); | ||
| 12 | has Opacity => (is => 'ro', isa => 'Int', request_name => 'opacity', traits => ['NameInRequest']); | ||
| 13 | has Width => (is => 'ro', isa => 'Int', request_name => 'width', traits => ['NameInRequest']); | ||
| 14 | |||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::MediaLive::StaticImageActivateScheduleActionSettings | ||
| 22 | |||
| 23 | =head1 USAGE | ||
| 24 | |||
| 25 | This class represents one of two things: | ||
| 26 | |||
| 27 | =head3 Arguments in a call to a service | ||
| 28 | |||
| 29 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 30 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 31 | |||
| 32 | As an example, if Att1 is expected to be a Paws::MediaLive::StaticImageActivateScheduleActionSettings object: | ||
| 33 | |||
| 34 | $service_obj->Method(Att1 => { Duration => $value, ..., Width => $value }); | ||
| 35 | |||
| 36 | =head3 Results returned from an API call | ||
| 37 | |||
| 38 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::StaticImageActivateScheduleActionSettings object: | ||
| 39 | |||
| 40 | $result = $service_obj->Method(...); | ||
| 41 | $result->Att1->Duration | ||
| 42 | |||
| 43 | =head1 DESCRIPTION | ||
| 44 | |||
| 45 | Settings for the action to activate a static image. | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 Duration => Int | ||
| 51 | |||
| 52 | The duration in milliseconds for the image to remain on the video. If | ||
| 53 | omitted or set to 0 the duration is unlimited and the image will remain | ||
| 54 | until it is explicitly deactivated. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 FadeIn => Int | ||
| 58 | |||
| 59 | The time in milliseconds for the image to fade in. The fade-in starts | ||
| 60 | at the start time of the overlay. Default is 0 (no fade-in). | ||
| 61 | |||
| 62 | |||
| 63 | =head2 FadeOut => Int | ||
| 64 | |||
| 65 | Applies only if a duration is specified. The time in milliseconds for | ||
| 66 | the image to fade out. The fade-out starts when the duration time is | ||
| 67 | hit, so it effectively extends the duration. Default is 0 (no | ||
| 68 | fade-out). | ||
| 69 | |||
| 70 | |||
| 71 | =head2 Height => Int | ||
| 72 | |||
| 73 | The height of the image when inserted into the video, in pixels. The | ||
| 74 | overlay will be scaled up or down to the specified height. Leave blank | ||
| 75 | to use the native height of the overlay. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> Image => L<Paws::MediaLive::InputLocation> | ||
| 79 | |||
| 80 | The location and filename of the image file to overlay on the video. | ||
| 81 | The file must be a 32-bit BMP, PNG, or TGA file, and must not be larger | ||
| 82 | (in pixels) than the input video. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 ImageX => Int | ||
| 86 | |||
| 87 | Placement of the left edge of the overlay relative to the left edge of | ||
| 88 | the video frame, in pixels. 0 (the default) is the left edge of the | ||
| 89 | frame. If the placement causes the overlay to extend beyond the right | ||
| 90 | edge of the underlying video, then the overlay is cropped on the right. | ||
| 91 | |||
| 92 | |||
| 93 | =head2 ImageY => Int | ||
| 94 | |||
| 95 | Placement of the top edge of the overlay relative to the top edge of | ||
| 96 | the video frame, in pixels. 0 (the default) is the top edge of the | ||
| 97 | frame. If the placement causes the overlay to extend beyond the bottom | ||
| 98 | edge of the underlying video, then the overlay is cropped on the | ||
| 99 | bottom. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 Layer => Int | ||
| 103 | |||
| 104 | The number of the layer, 0 to 7. There are 8 layers that can be | ||
| 105 | overlaid on the video, each layer with a different image. The layers | ||
| 106 | are in Z order, which means that overlays with higher values of layer | ||
| 107 | are inserted on top of overlays with lower values of layer. Default is | ||
| 108 | 0. | ||
| 109 | |||
| 110 | |||
| 111 | =head2 Opacity => Int | ||
| 112 | |||
| 113 | Opacity of image where 0 is transparent and 100 is fully opaque. | ||
| 114 | Default is 100. | ||
| 115 | |||
| 116 | |||
| 117 | =head2 Width => Int | ||
| 118 | |||
| 119 | The width of the image when inserted into the video, in pixels. The | ||
| 120 | overlay will be scaled up or down to the specified width. Leave blank | ||
| 121 | to use the native width of the overlay. | ||
| 122 | |||
| 123 | |||
| 124 | |||
| 125 | =head1 SEE ALSO | ||
| 126 | |||
| 127 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaLive> | ||
| 128 | |||
| 129 | =head1 BUGS and CONTRIBUTIONS | ||
| 130 | |||
| 131 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 132 | |||
| 133 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 134 | |||
| 135 | =cut | ||
| 136 |