5#ifndef PDFTRON_H_CPPPDFAnnotsLine
6#define PDFTRON_H_CPPPDFAnnotsLine
344 Line(TRN_Annot line);
357#include <Impl/Page.inl>
SDF::Obj GetSDFObj() const
void SetEndPoint(const Point &ep)
double GetLeaderLineLength() const
double GetLeaderLineOffset() const
@ e_Top
the caption shall be on top of the line
@ e_Inline
the caption shall be centered inside the line
Point GetEndPoint() const
@ e_Butt
A short line at the endpoint perpendicular to the line itself.
@ e_OpenArrow
Two short lines meeting in an acute angle to form an open arrowhead.
@ e_RClosedArrow
A triangular closed arrowhead in the reverse direction from ClosedArrow.
@ e_ClosedArrow
Two short lines meeting in an acute angle as in the OpenArrow style and connected by a third line to ...
@ e_Diamond
A diamond shape filled with the annotation's interior color, if any.
@ e_None
No special line ending.
@ e_Circle
A circle filled with the annotation's interior color, if any.
@ e_Unknown
Non-standard or invalid ending.
@ e_Square
A square filled with the annotation's interior color, if any.
@ e_Slash
A short line at the endpoint approximately 30 degrees clockwise from perpendicular to the line itself...
@ e_ROpenArrow
Two short lines in the reverse direction from OpenArrow.
EndingStyle GetEndStyle() const
Point GetStartPoint() const
void SetStartStyle(EndingStyle sst)
void SetLeaderLineLength(const double &length)
double GetTextVOffset() const
void SetIntentType(IntentType it)
IntentType GetIntentType() const
void SetLeaderLineExtensionLength(const double &length)
void SetLeaderLineOffset(double length)
void SetEndStyle(EndingStyle est)
void SetCaptionPosition(const CapPos &style)
void SetStartPoint(const Point &sp)
static Line CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
CapPos GetCaptionPosition() const
void SetShowCaption(bool showCaption)
void SetTextVOffset(double offset)
static Line Create(SDF::SDFDoc &doc, const Rect &pos)
bool GetShowCaption() const
@ e_LineArrow
Line is an arrow.
@ e_LineDimension
Line is a dimension.
double GetLeaderLineExtensionLength() const
double GetTextHOffset() const
EndingStyle GetStartStyle() const
void SetTextHOffset(double offset)