Geo::G...:Style(3pm)

πŸ“¦
version 0.17 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute

πŸ’– 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: alpha can be 0-255 or "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 ✨


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