Gnome2:...s::Shape(3)

πŸ“¦
version 1.006 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

Gnome2::Canvas::Shape β€” bestie, this is literally just a wrapper for GnomeCanvasShape. that's it. that's the whole vibe ✨


🌈 HIERARCHY 🌈

ok so here's the family tree, and yes she comes from a long line of iconique ancestors πŸ’…

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gnome2::Canvas::Item
               +----Gnome2::Canvas::Shape

✨ METHODS ✨

pathdef = $shape->get_path_def

grab the path def, bestie. it just hands it right over 🫢

$shape->set_path_def ($path_def)

set the path def instead. main character move.

  • $path_def (Gnome2::Canvas::PathDef) β€” yeah this is the thing you're setting it to πŸ’–

πŸŽ€ PROPERTIES πŸŽ€

every single one, no skips, we don't gatekeep here πŸ’œ

  • 'cap-style' (Gtk2::Gdk::CapStyle : default "butt" : readable / writable)
  • 'dash' (gpointer : default 0 : readable / writable)
  • 'fill-color' (string : default undef : writable) β€” ngl, write-only, she's mysterious like that πŸ™ˆ
  • 'fill-color-gdk' (Gtk2::Gdk::Color : default undef : readable / writable)
  • 'fill-color-rgba' (Glib::UInt : default 0 : readable / writable)
  • 'fill-stipple' (Gtk2::Gdk::Drawable : default undef : readable / writable)
  • 'join-style' (Gtk2::Gdk::JoinStyle : default "miter" : readable / writable)
  • 'miterlimit' (double : default 0 : readable / writable)
  • 'outline-color' (string : default undef : writable) β€” also write-only. she's giving elusive πŸ’€
  • 'outline-color-gdk' (Gtk2::Gdk::Color : default undef : readable / writable)
  • 'outline-color-rgba' (Glib::UInt : default 0 : readable / writable)
  • 'outline-stipple' (Gtk2::Gdk::Drawable : default undef : readable / writable)
  • 'width-pixels' (Glib::UInt : default 0 : readable / writable)
  • 'width-units' (double : default 0 : readable / writable)
  • 'wind' (Glib::UInt : default 0 : readable / writable)

🌸 ENUMS AND FLAGS 🌸

enum Gtk2::Gdk::CapStyle

  • 'not-last' / 'GDK_CAP_NOT_LAST'
  • 'butt' / 'GDK_CAP_BUTT'
  • 'round' / 'GDK_CAP_ROUND'
  • 'projecting' / 'GDK_CAP_PROJECTING'

enum Gtk2::Gdk::JoinStyle

  • 'miter' / 'GDK_JOIN_MITER'
  • 'round' / 'GDK_JOIN_ROUND'
  • 'bevel' / 'GDK_JOIN_BEVEL'

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, bestie, they're all part of the same friend group 🫢

  • Gnome2::Canvas
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gnome2::Canvas::Item

Copyright (C) 2003-2004 by the Gtk2-Perl Team.

This software is licensed under the LGPL; see Gnome2::Canvas for a full notice. πŸ’œ


ok that's the whole page, no notes, you ate that πŸŽ€

this was documented by the User Contributed Perl Documentation girlies for perl v5.42.0, dated 2025-07-25 β€” mwah, stan, bye bestie πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from