BuildModifierShape

fun BuildModifierShape(tg: TGLight, pt0: POINT2, pt1: POINT2, stringWidth: int, stringHeight: int, lineFactor: double, isTextFlipped: Boolean): Shape2

Returns a Shape object for the text background for labels and modifiers

Return

the modifier shape

Parameters

tg

the tactical graphic object

pt0

1st point of segment

pt1

last point of segment

stringWidth

string width

stringHeight

string height

lineFactor

number of text lines above or below the segment

isTextFlipped

true if text is flipped