31 { |
31 { |
32 return SubclassType; |
32 return SubclassType; |
33 } |
33 } |
34 |
34 |
35 virtual QString asText() const override; |
35 virtual QString asText() const override; |
36 virtual void invert() override; |
|
37 int numVertices() const override { return 2; } |
36 int numVertices() const override { return 2; } |
38 LDColor defaultColor() const override { return EdgeColor; } |
37 LDColor defaultColor() const override { return EdgeColor; } |
39 QString typeName() const override { return "line"; } |
38 QString typeName() const override { return "line"; } |
40 |
39 |
41 protected: |
40 protected: |