David Hillman > Geo-GoogleEarth-Document > Geo::GoogleEarth::Document::PolyStyle

Download:
Geo-GoogleEarth-Document-modules2.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Geo::GoogleEarth::Document::PolyStyle - Geo::GoogleEarth::Document::PolyStyle

SYNOPSIS ^

  use Geo::GoogleEarth::Document;
  my $document=Geo::GoogleEarth::Document->new();
  my $placemark = $document->placemark();
  $placemark->PolyStyle( fill => fill, outline => outline );

DESCRIPTION ^

Geo::GoogleEarth::Document::PolyStyle is a Geo::GoogleEarth::Document::ColorStyle with a few other methods.

USAGE ^

  my $PolyStyle = $placemark->PolyStyle( fill => 1, outline => 1 );

CONSTRUCTOR ^

new

  my $PolyStyle = $placemark->PolyStyle( fill => 1, outline => 1 );

METHODS ^

type

Returns the object type.

  my $type=$PolyStyle->type;

structure

Returns a hash reference for feeding directly into XML::Simple.

my $structure = $PolyStyle->structure; <PolyStyle id="ID"> <!-- inherited from ColorStyle --> <color>ffffffff</color> <!-- kml:color --> <colorMode>normal</colorMode> <!-- kml:colorModeEnum: normal or random -->

  <!-- specific to PolyStyle -->
  <fill>1</fill>                     <!-- boolean -->
  <outline>1</outline>               <!-- boolean -->
</PolyStyle>

id

fill

Sets or returns fill

outline

Sets or returns outline

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.

syntax highlighting: