Video::CPL::Annotation - Video::CPL::Annotation object.
Version 0.10
Video::CPL::Annotate exists to create and manipulate Annotations. use Video::CPL::Annotation; my $foo = Video::CPL::Annotation->new(name=>"alpha-tech",clickBehavior=>"goto",x=>772,y=>66, picLoc=>"foo.png"); #for a single use, this could also be created by helper functions, with an auto-generated name: $cue->goto(x=>772,y=>66,picLoc=>"foo.png");
Accessor routine to get or set the name.
Accessor routine to get or set the clickBehavior. Other fields may need to be modified if this is changed.
Accessor routine to get or set the x value of the Annotation.
Accessor routine to get or set the y value of the Annotation.
Accessor routine to get or set skipOnReturn.
Accessor routine to get or set showIcon.
Accessor routine to get or set ajs, the javascript to be executed if clickBehavior is <b>javascript</b>.
Accessor routine to get or set the <b>story</b>.
Accessor routine to get or set the picLoc of an embedded <b>Story</b>. Will create the <b>Story</b> object if it does not exist and a parameter is given.
Accessor routine to get or set the picOverLoc of an embedded <b>Story</b>. Will create the <b>Story</b> object if it does not exist and a parameter is given.
Accessor routine to get or set alpha.
Accessor routine to get or set targetList.
Accessor routine to get or set the parent. Video::CPL::Annotation uses this field to determine the parent Video::CPL object.
Creates a new Annotation object. Will automatically create a name if not given, and will convert a <b>Cue</b> passed as <b>target</b> to a <b>targetList</b>.
Change arbitrary fields within an Annotation point.
Return the text form of the Annotation. Usually called by Video::CPL::xml().
Return the xml format of an Annotation object. Intended for special cases; normally the Video::CPL method <b>xml</b> is called to obtain XML for the entire Video::CPL object at once.
Returns the string used to refer to this Annotation from the Video::CPL object given.
Return a cuePointRef to this Annotation.
Carl Rosenberg, <perl at coincident.tv>
<perl at coincident.tv>
Please report any bugs or feature requests to Coincident TV.
You can find documentation for this module with the perldoc command.
perldoc Video::CPL::Annotation
Copyright 2010 Coincident TV
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
To install Video::CPL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Video::CPL
CPAN shell
perl -MCPAN -e shell install Video::CPL
For more information on module installation, please visit the detailed CPAN module installation guide.