Edge/SplineEdge.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Edge/QuadCurveEdge.pm ↑ Summary
1 package yEd::Edge::SplineEdge;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use yEd::PropertyBasedObject;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶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 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
41 1 my ($class, @args) = @_;
42 1 my $self = bless {}, $class;
43 1 return $self->_init(@args);
44 }
45  
46 1 ▶sub _addTypeNode {
Subroutine _addTypeNode: called CC=1 SCAR=0.0
47 1 my ($self, $node) = @_;
48 1 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 3 1;
« Edge/QuadCurveEdge.pm ↑ Summary