Geo::G...:Style(3pm)
π Geo::GoogleEarth::Pluggable::Style β the manual page, but make it cute π
okay bestie, welcome to the Geo::GoogleEarth::Pluggable::Style page, straight out of the User Contributed Perl Documentation β¨ it's literally the Style Object for Geo::GoogleEarth::Pluggable, and yes it's as iconic as it sounds π
πΈ NAME πΈ
Geo::GoogleEarth::Pluggable::Style β the Geo::GoogleEarth::Pluggable Style Object, no cap π
β¨ SYNOPSIS β¨
the vibe check:
use Geo::GoogleEarth::Pluggable;
my $document=Geo::GoogleEarth::Pluggable->new();
my $style=$document->Style();
like, that's it. you make a document, you ask it for a Style. obsessed π«Ά
π¦ DESCRIPTION π¦
Geo::GoogleEarth::Pluggable::Style is a Geo::GoogleEarth::Pluggable::Base with a few other methods. that's the whole lore. it's a Base that ate and then picked up some extra methods π
π USAGE π
here's how you actually call it, bestie:
my $style=$document->Style(id=>"Style_Internal_HREF",
iconHref=>"http://.../path/image.png");
π CONSTRUCTOR π
new
the main character of this section. you build your Style like this:
my $style=$document->Style(id=>"Style_Internal_HREF",
iconHref=>"http://.../path/image.png");
π₯ METHODS π₯
type
returns the object type. that's it, that's the job β¨
my $type=$style->type;
node
(this one's just sitting here, being mysterious, minding its own business π§)
color
returns a color code for use in the XML structure, given many different inputs. she's flexible like that π
my $color=$style->color("FFFFFFFF"); #AABBGGRR in hex
my $color=$style->color({color="FFFFFFFF"});
my $color=$style->color({red=>255, green=>255, blue=>255, alpha=>255});
my $color=$style->color({rgb=>[255,255,255], alpha=>255});
my $color=$style->color({abgr=>[255,255,255,255]});
#my $color=$style->color({name=>"blue", alpha=>255}); #TODO with ColorNames
Note:alphacan be0-255or"0%"-"100%"π
π BUGS π
found a bug? please log on RT and send to the geo-perl email list. don't suffer in silence, bestie π
π«Ά SUPPORT π«Ά
try the geo-perl email list. they got you π
π AUTHOR π
Michael R. Davis (mrdvt92)
CPAN ID: MRDVT
iconic behavior, honestly β¨
π 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. read it, it's giving responsible queen π
π SEE ALSO π
Geo::GoogleEarth::Pluggableβ creates a GoogleEarth Document. the whole reason we're here fr fr π₯
and that's the tea, bestie π this page came to you from perl v5.32.1, dated 2021-11-28. go build something iconic π β¨
π¦ where this page comes from
- debian bookworm: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- debian trixie: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu jammy: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu noble: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu resolute: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms