Class

com.kodekutters.ms

Symbol

Related Doc: package ms

Permalink

class Symbol extends Object

Symbol object with a SIDC, and optional symbol options The SIDC is a complete, letter based or number based, or at least the first 3 chars of a letter based SIDC.

Annotations
@RawJSType() @JSName( "ms.symbol" ) @native()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Symbol
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Symbol(SIDC: String, options: SymbolOptions = ???)

    Permalink

    constructor

  2. new Symbol()

    Permalink
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var XML: String

    Permalink

    XML-string for the current marker

  5. var additionalInformation: String

    Permalink

    FieldID H - A text modifier for units, equipment, and installations; content is implementation specific.

    FieldID H - A text modifier for units, equipment, and installations; content is implementation specific. 20 Characters

  6. var alternateMedal: Boolean

    Permalink

    MIL-STD-2525D lets you choose between MEDAL and alternate MEDAL icons for mine warefare symbols, the default in milsymbol is using MEDAL icons, but you can change this using setting this property to true.

  7. var altitudeDepth: String

    Permalink

    FieldID X - A text modifier for units, equipment, and installations, that displays either altitude flight level, depth for submerged objects; or height of equipment or structures on the ground.

    FieldID X - A text modifier for units, equipment, and installations, that displays either altitude flight level, depth for submerged objects; or height of equipment or structures on the ground. 14 Characters

  8. def asCanvas(ratio: Double = 1): Canvas

    Permalink

    Draws the marker to a canvas element using native draw instructions and returns the canvas element.

  9. def asDOM(): Element

    Permalink

    Parses the XML and returns a DOM element.

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def asSVG(): String

    Permalink

    This will return the SVG XML string and it will also be stored in the XML property, if autoSVG is set to true the will be called automatically when you call getMarker.

  12. var bbox: BoundingBox

    Permalink

    Contains the bounding box of the current marker

  13. var civilianColor: Boolean

    Permalink

    2525C specifics purple as an optional color for civilian symbols.

    2525C specifics purple as an optional color for civilian symbols. Of corse we like color so we set this as default.

  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. var colorMode: ColorMode

    Permalink

    This is the option for setting what Color object to use for the fill of the symbols.

    This is the option for setting what Color object to use for the fill of the symbols. You can use MS.colorMode to create a new color mode, or MS.getColorMode to get an existing color mode.

  16. var colors: Array[ColorMode]

    Permalink

    Contains the colors for the current marker

  17. var combatEffectiveness: String

    Permalink

    FieldID K - A text modifier for units and installations that indicates unit effectiveness or installation capability.

    FieldID K - A text modifier for units and installations that indicates unit effectiveness or installation capability. 5 Characters

  18. var commonIdentifier: String

    Permalink

    FieldID AF - Example: "Hawk" for Hawk SAM system.

  19. var direction: Double

    Permalink

    FieldID Q - at the moment all directions should be in degrees and not in mils.

    FieldID Q - at the moment all directions should be in degrees and not in mils. Set to an empty string to remove the direction arrow.

  20. var dtg: String

    Permalink

    FieldID W - A text modifier for units, equipment, and installations that displays DTG format: DDHHMMSSZMONYYYY or "O/O" for on order.

    FieldID W - A text modifier for units, equipment, and installations that displays DTG format: DDHHMMSSZMONYYYY or "O/O" for on order. 16 Characters

  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  23. var equipmentTeardownTime: String

    Permalink

    FieldID AE - Equipment teardown time in minutes.

  24. var evaluationRating: String

    Permalink

    FieldID J - A text modifier for units, equipment, and installations that consists of a one-letter reliability rating and a one-number credibility rating.

    FieldID J - A text modifier for units, equipment, and installations that consists of a one-letter reliability rating and a one-number credibility rating. 2 Characters

  25. var fill: Boolean

    Permalink

    Should your symbol be filled with color.

  26. var fillOpacity: Double

    Permalink

    The opacity of the symbol fill color.

  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. var frame: Boolean

    Permalink

    Should your symbol have a frame.

    Should your symbol have a frame. All symbols support to be unframed, not just the ones specified in 2525B.

  29. def getAnchor(): Anchor

    Permalink

    returns an object with the x and y offset of the symbol.

  30. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  31. def getColors(): SymbolColor

    Permalink

    This will return an object with several named properties, where each property is a Color object.

    This will return an object with several named properties, where each property is a Color object. This represent all colors that can be used for the current marker.

  32. def getMarker(): Symbol

    Permalink

    When the getMarker() method is called, all properties of the Symbol Object is updated (getMarker() calls getProperties() and getColors()) and a marker is composed by all marker parts.

    When the getMarker() method is called, all properties of the Symbol Object is updated (getMarker() calls getProperties() and getColors()) and a marker is composed by all marker parts. When this is done the Symbol Object itself is returned.

    Note: not needed anymore, symbols are automatically updated when options are updated using setOptions().

  33. def getOctagonAnchor(): Anchor

    Permalink

    returns an object with the x and y offset of the octagon center.

  34. def getProperties(): Properties

    Permalink

    This will update and return the Properties Object for the current marker.

  35. def getSize(): Size

    Permalink

    returns an object with the width and height of the symbol.

  36. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  37. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  38. var headquartersElement: String

    Permalink

    Example: Tactical Operations Centre put as 'TOC'.

  39. var height: Double

    Permalink

    Height of the current marker

  40. var higherFormation: String

    Permalink

    FieldID M - A text modifier for units that indicates number or title of higher echelon command (corps are designated by Roman numerals).

    FieldID M - A text modifier for units that indicates number or title of higher echelon command (corps are designated by Roman numerals). 21 Characters

  41. var hostile: String

    Permalink

    FieldID N - A text modifier for equipment; letters "ENY" denote hostile symbols.

    FieldID N - A text modifier for equipment; letters "ENY" denote hostile symbols. 3 Characters

  42. var icon: Boolean

    Permalink

    Should your symbol have an icon.

  43. var iffSif: String

    Permalink

    FieldID P - A text modifier displaying IFF/SIF Identification modes and codes.

    FieldID P - A text modifier displaying IFF/SIF Identification modes and codes. 5 Characters

  44. var infoFields: Boolean

    Permalink

    If you have set some text fields and direction but don't want them to be displayed you can set infoFields to false.

    If you have set some text fields and direction but don't want them to be displayed you can set infoFields to false. This makes it possible to initiate the object with all information you got but not display it.

  45. var infoSize: Double

    Permalink

    The size of the text fields surrounding the symbol.

  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  48. var location: String

    Permalink

    FieldID Y - A text modifier for units, equipment, and installations that displays a symbol's location in degrees, minutes, and seconds (or in UTM or other applicable display format).

    FieldID Y - A text modifier for units, equipment, and installations that displays a symbol's location in degrees, minutes, and seconds (or in UTM or other applicable display format). 19 Characters

  49. var markerAnchor: Anchor

    Permalink

    The anchor point for the current marker, this is usually the center of the octagon, but for headquarters it's the end of the staf.

    The anchor point for the current marker, this is usually the center of the octagon, but for headquarters it's the end of the staf. The coordinates are measured from the top left corner of the marker.

  50. var monoColor: String

    Permalink

    A color that is either a keyword or a numerical RGB specification.

    A color that is either a keyword or a numerical RGB specification. If you set this the symbol will be monochrome and unfilled using the color provided.

  51. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  52. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  53. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  54. var octagonAnchor: Anchor

    Permalink

    The anchor point for the octagon for the current marker.

    The anchor point for the octagon for the current marker. The coordinates are measured from the top left corner of the marker.

  55. var platformType: String

    Permalink

    FieldID AD - "ELNOT" or "CENOT"

  56. var properties: Properties

    Permalink

    Properties of the current marker

  57. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  58. var quantity: String

    Permalink

    FieldID C - A text modifier in an equipment symbol that identifies the number of items present.

    FieldID C - A text modifier in an equipment symbol that identifies the number of items present. 9 Characters

  59. var reinforcedReduced: String

    Permalink

    FieldID F - A text modifier in a unit symbol that displays (+) for reinforced, (-) for reduced, (±) reinforced and reduced.

    FieldID F - A text modifier in a unit symbol that displays (+) for reinforced, (-) for reduced, (±) reinforced and reduced. 3 Characters

  60. def setOptions(options: SymbolOptions): Symbol

    Permalink

    If you want to change the options of an existing symbol at the same time as you want to request it as a new marker, you can use setOptions(<Symbol options> options?) to update the options.

  61. var sigint: String

    Permalink

    FieldID R2 - M = Mobile, S = Static, or U = Uncertain.

  62. var signatureEquipment: String

    Permalink

    FieldID L - A text modifier for hostile equipment; "!" indicates detectable electronic signatures.

    FieldID L - A text modifier for hostile equipment; "!" indicates detectable electronic signatures. 1 Characters

  63. var size: Double

    Permalink

    The L value for your symbol, where the L value is the width of the icon octagon.

  64. var specialHeadquarters: String

    Permalink

    FieldID AA - A text modifier for units; indicator is contained inside the frame; contains the name of the special C2 Headquarters.

    FieldID AA - A text modifier for units; indicator is contained inside the frame; contains the name of the special C2 Headquarters. 9 Characters

  65. var speed: String

    Permalink

    FieldID Z - A text modifier for units and equipment that displays velocity as set forth in MIL-STD-6040.

    FieldID Z - A text modifier for units and equipment that displays velocity as set forth in MIL-STD-6040. 8 Characters

  66. var staffComments: String

    Permalink

    FieldID G - A text modifier for units, equipment and installations; content is implementation specific.

    FieldID G - A text modifier for units, equipment and installations; content is implementation specific. 20 Characters

  67. var strokeWidth: Double

    Permalink

    The stroke width of the symbol.

  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  69. def toDataURL(): String

    Permalink

    Base 64 encodes the XML and returns the output as a SVG image stream that can be set as the source attribute on a image element.

  70. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  71. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  72. var type: String

    Permalink

    FieldID V - A text modifier for equipment that indicates types of equipment.

    FieldID V - A text modifier for equipment that indicates types of equipment. 24 Characters

  73. var uniqueDesignation: String

    Permalink

    FieldID T - A text modifier for units, equipment, and installations that uniquely identifies a particular symbol or track number.

    FieldID T - A text modifier for units, equipment, and installations that uniquely identifies a particular symbol or track number. Identifies acquisitions number when used with SIGINT symbology. 21 Characters

  74. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  75. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. var width: Double

    Permalink

    Width of the current marker

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped