Companion
object Companion
Functions
Link copied to clipboard
Called by the renderer after tg.Pixels has been filled with the calculated points. The modifier path depends on points calculated by CELineArray.
Link copied to clipboard
fun AddModifiersGeo(tg: TGLight, g2d: Graphics2D, clipBounds: Rectangle2D?, converter: IPointConversion)
fun AddModifiersGeo(tg: TGLight, g2d: Graphics2D, clipBounds: JsArray<Point2D>?, converter: IPointConversion)
Calculate modifiers identical to addModifiers except use geodesic calculations for the center point.
Link copied to clipboard
Link copied to clipboard
Creates text outline as a shape
Link copied to clipboard
Displays the tg modifiers using a client Graphics2D, this is an option provided to clients for displaying modifiers without using shapes
Link copied to clipboard
fun DisplayModifiers2(tg: TGLight, g2d: Graphics2D, shapes: JsArray<Shape2>, isTextFlipped: Boolean, converter: IPointConversion)
Displays the modifiers to a Graphics2D from a BufferedImage
Link copied to clipboard
For BOUNDARY and other line types which require breaks for the integral text. Currently only boundary uses this
Link copied to clipboard
Builds a shape object to wrap text
Link copied to clipboard
removes text modifiers for CPOF tactical areas which do not fit inside the symbol MBR