NAME
Geo::GoogleEarth::Document::LineStyle - Geo::GoogleEarth::Document::LineStyle
SYNOPSIS
use Geo::GoogleEarth::Document;
my $document=Geo::GoogleEarth::Document->new();
my $placemark = $document->placemark();
$placemark->LineStyle( width => width );
DESCRIPTION
Geo::GoogleEarth::Document::LineStyle is a Geo::GoogleEarth::Document::ColorStyle with a few other methods.
USAGE
my $LineStyle = $placemark->LineStyle( width => 2 );
CONSTRUCTOR
new
my $LineStyle = $placemark->LineStyle( width => 2 );
METHODS
type
Returns the object type.
my $type=$LineStyle->type;
structure
Returns a hash reference for feeding directly into XML::Simple.
my $structure = $LineStyle->structure; <LineStyle id="ID"> <!-- inherited from ColorStyle --> <color>ffffffff</color> <!-- kml:color --> <colorMode>normal</colorMode> <!-- colorModeEnum: normal or random -->
<!-- specific to LineStyle -->
<width>1</width> <!-- float -->
</LineStyle>
id
width
Sets or return width
BUGS
SUPPORT
Contact the author.
AUTHOR
David Hillman
CPAN: DAHILLMA
COPYRIGHT
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
Geo::GoogleEarth::Document creates a GoogleEarth KML Document.