Quiq::AxisTick - Tick einer Plot-Achse
Quiq::Hash
Ein Tick-Objekt repräsentiert eine Postion auf einer Plot-Achse, an der eine Markierung - mit oder ohne Label - gesetzt wird. Das Tick-Objekt ist einem Achsen-Objekt zugeordnet. Über das Tick-Objekt gelangt eine Klasse, die eine Plot-Achse zeichnet, an alle Information, die zum Zeichnen des Tick nötig ist.
Referenz auf das Achsen-Objekt.
Wert des Tick.
$tik = Quiq::AxisTick->new($axis,$val);
Referenz auf das Plot-Achsen-Objekt.
Instantiiere ein Tick-Objekt und liefere eine Referenz auf dieses Objekt zurück.
$val = $tik->value;
Liefere den Wert des Tick.
$pos = $tik->position;
Liefere die Pixel-Position des Tick auf der Achse.
$label = $tik->label;
Liefere das Tick-Label, also die Achsenbeschriftung.
$width = $tik->width;
Liefere die Breite des Tick. Bei einem Tick mit Label wird die Breite des Tick von seinem Label bestimmt.
$height = $tik->height;
Liefere die Höhe des Tick. Bei einem Tick mit Label wird die Höhe des Tick von seinem Label bestimmt.
1.188
Frank Seitz, http://fseitz.de/
Copyright (C) 2020 Frank Seitz
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Quiq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Quiq
CPAN shell
perl -MCPAN -e shell install Quiq
For more information on module installation, please visit the detailed CPAN module installation guide.