Gtk2::Ex::MindMapView::Border::RoundedRectGtk2::Ex::MindMapView::Border::RoundedRect is a Perl module to create a rounded rectangle border. | |
Download |
Gtk2::Ex::MindMapView::Border::RoundedRect Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- James Muir
- Publisher web site:
- http://search.cpan.org/~hemlock/Gtk2-Ex-MindMapView-0.000001/lib/Gtk2/Ex/MindMapView/ContentFactory.pm
Gtk2::Ex::MindMapView::Border::RoundedRect Tags
Gtk2::Ex::MindMapView::Border::RoundedRect Description
Gtk2::Ex::MindMapView::Border::RoundedRect is a Perl module to create a rounded rectangle border. Gtk2::Ex::MindMapView::Border::RoundedRect is a Perl module to create a rounded rectangle border.SYNOPSISuse Gtk2::Ex::MindMapView::Border::RoundedRect;This module is internal to Gtk2::Ex::MindMapView. It draws a rounded rectangle border for a Gtk2::Ex::MindMapView::Item. This rectangle is instantiated as part of the item creation process in Gtk2::Ex::MindMapView::ItemFactory.INTERFACEProperties'content' (Gtk2::Ex::MindMapView::Content)The content to be placed in the rounded rectangle.'radius' (double)The radius of the rounded rectangle corner (in pixels).'width-pixels' (double)The width of the rounded rectangle corner (in pixels).'padding-pixels' (double)The padding between the content and the border (in pixels).'x' (double)The x-coordinate of the upper left corner of the border bounding box.'y' (double)The y-coordinate of the upper left corner of the border bounding box.'width' (double)The width of the border bounding box.'height' (double)The height of the border bounding box.Methodsnew(group=>$group, content=>$content, ...)Instantiate a rounded rectangle border. You must provide the Gnome2::Canvas::Group on which this border is to place itself. You must also provide a content object, Gtk2::Ex::MindMapView::Content.border_get_image()This method overrides the border_get_image method defined in Border.pm. It instantiates a Gnome2::Canvas::Shape. .border_set_x($value)This method overrides the border_set_x method defined in Border.pm. It sets the value of the border x1 coordinate, and adjusts the x2 value so that the border retains it's width.border_set_y($value)This method overrides the border_set_y method defined in Border.pm. It sets the value of the border y1 coordinate, and adjusts the y2 value so that the border retains it's height.border_set_width($value)This method overrides the border_set_width method defined in Border.pm. It sets the value of the border x2 coordinate to reflect the new width.border_set_height($value)This method overrides the border_set_height method defined in Border.pm. It sets the value of the border y2 coordinate to reflect the new height.border_set_param($name,$value)This method overrides the border_set_param method defined in Border.pm. It sets parameters in the Gnome2::Canvas::Shape object instantiated by this module. Requirements: · Perl
Gtk2::Ex::MindMapView::Border::RoundedRect Related Software