| 1 | package yEd::Edge::SplineEdge; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use yEd::PropertyBasedObject; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use base qw(yEd::Edge); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | yEd::Edge::SplineEdge - curving Edge that always has its waypoints on its line | ||
| 10 | |||
| 11 | =head1 DESCRIPTION | ||
| 12 | |||
| 13 | A curving Edge that always has its waypoints on its line (in contrast to e.g. QuadCurveEdge). | ||
| 14 | |||
| 15 | Can have multiple waypoints. | ||
| 16 | |||
| 17 | Make sure to have a look at L<yEd::Edge>, the properties and functions described there will not be repeated here. | ||
| 18 | |||
| 19 | =head1 SUPPORTED FEATURES | ||
| 20 | |||
| 21 | The type specific features are fully supported. | ||
| 22 | |||
| 23 | For basic Edge type feature support and which Edge types are supported see L<yEd::Edge>. | ||
| 24 | |||
| 25 | =head1 PROPERTIES | ||
| 26 | |||
| 27 | =head2 all properties from base class | ||
| 28 | |||
| 29 | L<yEd::Edge> | ||
| 30 | |||
| 31 | =head1 SUBROUTINES/METHODS | ||
| 32 | |||
| 33 | =head2 all functions from base class | ||
| 34 | |||
| 35 | L<yEd::Edge> | ||
| 36 | |||
| 37 | =cut | ||
| 38 | |||
| 39 | |||
| 40 | sub new { | ||
| 41 | 0 | ▶ | my ($class, @args) = @_; |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 42 | 0 | my $self = bless {}, $class; | |
| 43 | 0 | return $self->_init(@args); | |
| 44 | } | ||
| 45 | |||
| 46 | sub _addTypeNode { | ||
| 47 | 0 | ▶ | my ($self, $node) = @_; |
|
Subroutine
_addTypeNode: not called CC=1 SCAR=6.9
| |||
| 48 | 0 | return $node->addNewChild('', 'y:SplineEdge'); | |
| 49 | } | ||
| 50 | |||
| 51 | =head1 SEE ALSO | ||
| 52 | |||
| 53 | L<yEd::Document> for further informations about the whole package | ||
| 54 | |||
| 55 | L<yEd::PropertyBasedObject> for further basic information about properties and their additional functions | ||
| 56 | |||
| 57 | L<yEd::Edge> for information about the Edge base class and which other Edge types are currently supported | ||
| 58 | |||
| 59 | =cut | ||
| 60 | |||
| 61 | 1 | 1; | |