ShapeInfo

open external class ShapeInfo : JsAny

Holds information on how to draw the pieces of a multipoint symbol. Can be retrieved from {@link MilStdSymbol#getSymbolShapes()} and {@link MilStdSymbol#getModifierShapes()} after {@link armyc2.c5isr.web.render.WebRenderer#RenderMultiPointAsMilStdSymbol(String, String, String, String, String, String, double, String, Map, Map)} is called.

Inheritors

Constructors

Link copied to clipboard
constructor()
constructor(shape: Shape)
constructor(shape: Shape, shapeType: int)
constructor(textLayout: TextLayout, position: Point2D)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun getBounds(): Rectangle?

Gets bounds for the shapes. Incorporates AffineTransform if not null in the ShapeInfo object.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

needed to draw Glyphs and TextLayouts

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

For Internal Renderer use

Link copied to clipboard
Link copied to clipboard
fun getTag(): JsAny?

Object that can be used to store anything. Will not be looked at when rendering. Null by default

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setFillColor(value: Color?)
Link copied to clipboard
fun setFillStyle(value: int)
Link copied to clipboard
fun setGlyphPosition(position: Point)
fun setGlyphPosition(position: Point2D)

needed to draw Glyphs and TextLayouts

Link copied to clipboard
fun setLineColor(value: Color?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setShape(value: Shape)
Link copied to clipboard
fun setShapeType(value: int)

For Internal Renderer use

Link copied to clipboard
Link copied to clipboard
fun setTag(value: JsAny?)

Object that can be used to store anything. Will not be looked at when rendering. Null by default

Link copied to clipboard
Link copied to clipboard
fun setTextJustify(value: int)
Link copied to clipboard
Link copied to clipboard