=head1 NAME

Gnome2::Canvas::Text - Text as CanvasItems

=cut

=head1 HIERARCHY

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



=cut

=for object Gnome2::Canvas::Text - Text as CanvasItems

=cut




=head1 PROPERTIES

=over

=item 'anchor' (Gtk2::AnchorType : default "center" : readable / writable)

=item 'attributes' (Pango::AttrList : default undef : readable / writable)

=item 'clip' (boolean : default false : readable / writable)

=item 'clip-height' (double : default 0 : readable / writable)

=item 'clip-width' (double : default 0 : readable / writable)

=item 'family' (string : default undef : readable / writable)

Name of the font family, e.g. Sans, Helvetica, Times, Monospace

=item 'family-set' (boolean : default false : readable / writable)

Whether this tag affects the font family

=item 'fill-color' (string : default undef : readable / writable)

Text color, as string

=item 'fill-color-gdk' (Gtk2::Gdk::Color : default undef : readable / writable)

Text color, as a GdkColor

=item 'fill-color-rgba' (Glib::UInt : default 0 : readable / writable)

Text color, as an R/G/B/A combined integer

=item 'fill-stipple' (Gtk2::Gdk::Drawable : default undef : readable / writable)

=item 'font' (string : default undef : readable / writable)

Font description as a string

=item 'font-desc' (Pango::FontDescription : default undef : readable / writable)

Font description as a PangoFontDescription struct

=item 'justification' (Gtk2::Justification : default "left" : readable / writable)

=item 'markup' (string : default undef : writable)

Marked up text to render

=item 'rise' (integer : default 0 : readable / writable)

Offset of text above the baseline (below the baseline if rise is negative)

=item 'rise-set' (boolean : default false : readable / writable)

Whether this tag affects the rise

=item 'scale' (double : default 1 : readable / writable)

Size of font, relative to default size

=item 'scale-set' (boolean : default false : readable / writable)

Whether this tag affects font scaling

=item 'size' (integer : default 0 : readable / writable)

Font size (as a multiple of PANGO_SCALE, eg. 12*PANGO_SCALE for a 12pt font size)

=item 'size-points' (double : default 0 : readable / writable)

Font size in points (eg. 12 for a 12pt font size)

=item 'size-set' (boolean : default false : readable / writable)

Whether this tag affects the font size

=item 'stretch' (Pango::Stretch : default "normal" : readable / writable)

Font stretch

=item 'stretch-set' (boolean : default false : readable / writable)

Whether this tag affects the font stretch

=item 'strikethrough' (boolean : default false : readable / writable)

Whether to strike through the text

=item 'strikethrough-set' (boolean : default false : readable / writable)

Whether this tag affects strikethrough

=item 'style' (Pango::Style : default "normal" : readable / writable)

Font style

=item 'style-set' (boolean : default false : readable / writable)

Whether this tag affects the font style

=item 'text' (string : default undef : readable / writable)

Text to render

=item 'text-height' (double : default 0 : readable)

Height of the rendered text

=item 'text-width' (double : default 0 : readable)

Width of the rendered text

=item 'underline' (Pango::Underline : default "none" : readable / writable)

Style of underline for this text

=item 'underline-set' (boolean : default false : readable / writable)

Whether this tag affects underlining

=item 'variant' (Pango::Variant : default "normal" : readable / writable)

Font variant

=item 'variant-set' (boolean : default false : readable / writable)

Whether this tag affects the font variant

=item 'weight' (integer : default 400 : readable / writable)

Font weight

=item 'weight-set' (boolean : default false : readable / writable)

Whether this tag affects the font weight

=item 'x' (double : default 0 : readable / writable)

=item 'x-offset' (double : default 0 : readable / writable)

=item 'y' (double : default 0 : readable / writable)

=item 'y-offset' (double : default 0 : readable / writable)

=back



=cut


=head1 ENUMS AND FLAGS

=head2 enum Gtk2::AnchorType

=over

=item * 'center' / 'GTK_ANCHOR_CENTER'

=item * 'north' / 'GTK_ANCHOR_NORTH'

=item * 'north-west' / 'GTK_ANCHOR_NORTH_WEST'

=item * 'north-east' / 'GTK_ANCHOR_NORTH_EAST'

=item * 'south' / 'GTK_ANCHOR_SOUTH'

=item * 'south-west' / 'GTK_ANCHOR_SOUTH_WEST'

=item * 'south-east' / 'GTK_ANCHOR_SOUTH_EAST'

=item * 'west' / 'GTK_ANCHOR_WEST'

=item * 'east' / 'GTK_ANCHOR_EAST'

=item * 'n' / 'GTK_ANCHOR_N'

=item * 'nw' / 'GTK_ANCHOR_NW'

=item * 'ne' / 'GTK_ANCHOR_NE'

=item * 's' / 'GTK_ANCHOR_S'

=item * 'sw' / 'GTK_ANCHOR_SW'

=item * 'se' / 'GTK_ANCHOR_SE'

=item * 'w' / 'GTK_ANCHOR_W'

=item * 'e' / 'GTK_ANCHOR_E'

=back


=head2 enum Gtk2::Justification

=over

=item * 'left' / 'GTK_JUSTIFY_LEFT'

=item * 'right' / 'GTK_JUSTIFY_RIGHT'

=item * 'center' / 'GTK_JUSTIFY_CENTER'

=item * 'fill' / 'GTK_JUSTIFY_FILL'

=back


=head2 enum Pango::Stretch

=over

=item * 'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED'

=item * 'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED'

=item * 'condensed' / 'PANGO_STRETCH_CONDENSED'

=item * 'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED'

=item * 'normal' / 'PANGO_STRETCH_NORMAL'

=item * 'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED'

=item * 'expanded' / 'PANGO_STRETCH_EXPANDED'

=item * 'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED'

=item * 'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'

=back


=head2 enum Pango::Style

=over

=item * 'normal' / 'PANGO_STYLE_NORMAL'

=item * 'oblique' / 'PANGO_STYLE_OBLIQUE'

=item * 'italic' / 'PANGO_STYLE_ITALIC'

=back


=head2 enum Pango::Underline

=over

=item * 'none' / 'PANGO_UNDERLINE_NONE'

=item * 'single' / 'PANGO_UNDERLINE_SINGLE'

=item * 'double' / 'PANGO_UNDERLINE_DOUBLE'

=item * 'low' / 'PANGO_UNDERLINE_LOW'

=item * 'error' / 'PANGO_UNDERLINE_ERROR'

=back


=head2 enum Pango::Variant

=over

=item * 'normal' / 'PANGO_VARIANT_NORMAL'

=item * 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'

=back




=cut


=head1 SEE ALSO

L<Gnome2::Canvas>, L<Glib::Object>, L<Glib::InitiallyUnowned>, L<Gtk2::Object>, L<Gnome2::Canvas::Item>


=cut


=head1 COPYRIGHT

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

This software is licensed under the LGPL; see L<Gnome2::Canvas> for a full notice.


=cut

