Ace::Graphics::GlyphFactory - Create Ace::Graphics::Glyphs
use Ace::Graphics::GlyphFactory;
my $factory = Ace::Graphics::GlyphFactory($glyph_name,@options);
The Ace::Graphics::GlyphFactory class is used internally by Ace::Graphics::Track and Ace::Graphics::Glyph to hold the options pertaining to a set of related glyphs and creating them on demand. This class is not ordinarily useful to the end-developer.
This section describes the class and object methods for Ace::Graphics::GlyphFactory.
There is only one constructor, the new() method. It is ordinarily
called by Ace::Graphics::Track, in the make_factory() subroutine.
new($glyph_name,@options)new() method creates a new factory object. The object will create
glyphs of type $glyph_name, and using the options specified in
@options. Generic options are described in the Ace::Graphics::Panel manpage,
and specific options are described in each of the
Ace::Graphics::Glyph::* manual pages.
=back
Once a track is created, the following methods can be invoked:
glyph($feature)scale([$scale])map_pt() method when performing
the rendering.
bgcolor([$color])fillcolor([$color])font([$font])fgcolor() itself, because it will never return a styled
color, such as gdBrushed.
panel([$panel])translate($color)rgb($index)
Please report them.
the Ace::Sequence manpage, the Ace::Sequence::Feature manpage, the Ace::Graphics::Panel manpage, the Ace::Graphics::Track manpage, the Ace::Graphics::Glyph manpage
Lincoln Stein <lstein@cshl.org>.
Copyright (c) 2001 Cold Spring Harbor Laboratory
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.