MCPcopy Create free account
hub / github.com/MITK/MITK / TextAnnotation2D

Method TextAnnotation2D

Modules/Annotation/src/mitkTextAnnotation2D.cpp:18–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include <vtkTextProperty.h>
17
18mitk::TextAnnotation2D::TextAnnotation2D()
19{
20 mitk::Point2D position;
21 position[0] = position[1] = 0;
22 this->SetPosition2D(position);
23 this->SetOffsetVector(position);
24 this->SetText("");
25 this->SetFontSize(20);
26 this->SetColor(1.0, 1.0, 1.0);
27 this->SetStringProperty("font.family", "Arial");
28 this->SetBoolProperty("font.bold", false);
29 this->SetBoolProperty("font.italic", false);
30 this->SetBoolProperty("drawShadow", false);
31}
32
33mitk::TextAnnotation2D::~TextAnnotation2D()
34{

Callers

nothing calls this directly

Calls 7

SetPosition2DMethod · 0.80
SetOffsetVectorMethod · 0.45
SetTextMethod · 0.45
SetFontSizeMethod · 0.45
SetColorMethod · 0.45
SetStringPropertyMethod · 0.45
SetBoolPropertyMethod · 0.45

Tested by

no test coverage detected