Gtk2::Ex::MindMapView::BorderFactory is a Maker of standard border items.
SYNOPSIS
use Gtk2::Ex::MindMapView::BorderFactory;
This factory makes borders for mind map view items. The following types of borders are currently supported:
Gtk2::Ex::MindMapView::Border::RoundedRect - A rounded rectangle border.
Gtk2::Ex::MindMapView::Border::Rectangle - A rectangular border.
Gtk2::Ex::MindMapView::Border::Ellipse - An ellipse shaped border.
INTERFACE
Properties
'view' (Gtk2::Ex::MindMapView)
The canvas on which the border will be drawn.
'type' (string)
The type of border to draw (see above).
'content' (Gtk2::Ex::MindMapView::Content)
The content to be placed in the border.
'fill_color_gdk' (Gtk2::Gdk::Color)
The color of the interior of the border.
'outline_color_gdk' (Gtk2::Gdk::Color)
The color of the border outline.
Methods
new (view=$view, ...)>
Constructor for this factory. Pass in a Gtk2::Ex::MindMapView argument.
create_border (type=$border_type, content=>$content, ...)>
Creates a new Gtk2::Ex::MindMapView::Border border with the specified content.
DIAGNOSTICS
Invalid Gtk2::Ex::MindMapView argument.
The 'view' parameter must be a Gtk2::Ex::MindMapView.
Invalid content. 'content' parameter must be 'Gtk2::Ex::MindMapView::Content')
The only content types that subclass 'Gtk2::Ex::MindMapView::Content' are permitted.
Unexpected border type: $type
Only the border types listed above are currently supported.
Product's homepage
Requirements:
· Perl