@armyc2.c5isr.renderer/mil-sym-ts-web 2.2.2 → 2.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/C5Ren.d.ts CHANGED
@@ -2394,6 +2394,21 @@ export declare class DrawRules {
2394
2394
  * Used by: 2525D,Dch1,E,Ech1
2395
2395
  */
2396
2396
  static readonly AREA26: number;
2397
+ /**
2398
+ * Anchor Points: This symbol requires three anchor points. Point 1 defines
2399
+ * the tip of the arrowhead. Point 2 defines the end of the straight-line
2400
+ * portion of the symbol. Point 3 defines the diameter and orientation of
2401
+ * the 180 degree circular arc.
2402
+ *
2403
+ * Size/Shape: Points 1 and 2 determine the length of the straight-line
2404
+ * portion of the symbol. Point 3 defines which side of the line the arc
2405
+ * is on and the diameter of the arc
2406
+ *
2407
+ * Orientation: Determined by the anchor points.
2408
+ *
2409
+ * Used by: Ech1
2410
+ */
2411
+ static readonly AREA27: number;
2397
2412
  /**
2398
2413
  * Anchor Points: This symbol requires one anchor point. The anchor point
2399
2414
  * defines/is the tip of the inverted cone.
@@ -3993,13 +4008,6 @@ export declare class RendererSettings {
3993
4008
  * Outline width of 4 is recommended.
3994
4009
  */
3995
4010
  static readonly TextBackgroundMethod_OUTLINE: int;
3996
- /**
3997
- * A different approach for outline which is quicker and seems to use
3998
- * less memory. Also, you may do well with a lower outline thickness setting
3999
- * compared to the regular outlining approach. Outline Width of 1 is
4000
- * recommended.
4001
- */
4002
- static readonly TextBackgroundMethod_OUTLINE_QUICK: int;
4003
4011
  /**
4004
4012
  * Value from 0 to 255. The closer to 0 the lighter the text color has to be
4005
4013
  * to have the outline be black. Default value is 160.
@@ -4147,7 +4155,6 @@ export declare class RendererSettings {
4147
4155
  * the outline will be this many pixels wide.
4148
4156
  *
4149
4157
  * @param width
4150
- * @deprecated - controlled within the renderer
4151
4158
  */
4152
4159
  /**
4153
4160
  * if RenderSettings.TextBackgroundMethod_OUTLINE is used,
@@ -4847,10 +4854,10 @@ export declare class SymbolID {
4847
4854
  /**
4848
4855
  * Set Sector 1 Modifier at positions 17-18.
4849
4856
  * @param symbolID 30 Character string
4850
- * @param mod1 number
4857
+ * @param mod1 number 0-255 or string "00" to "FF"
4851
4858
  * @return string
4852
4859
  */
4853
- static setModifier1(symbolID: string, mod1: number): string;
4860
+ static setModifier1(symbolID: string, mod1: number | string): string;
4854
4861
  /**
4855
4862
  * Get Common Sector 1 Modifier from position 21.
4856
4863
  * @param symbolID 30 Character string
@@ -4873,10 +4880,10 @@ export declare class SymbolID {
4873
4880
  /**
4874
4881
  * Set Sector 2 Modifier at positions 17-18.
4875
4882
  * @param symbolID 30 Character string
4876
- * @param mod1 number
4883
+ * @param mod2 number 0-255 or string "00" to "FF"
4877
4884
  * @return string
4878
4885
  */
4879
- static setModifier2(symbolID: string, mod1: number): string;
4886
+ static setModifier2(symbolID: string, mod2: number): string;
4880
4887
  /**
4881
4888
  * Get Common Sector 2 Modifier from position 22.
4882
4889
  * @param symbolID 30 Character string
@@ -6112,7 +6119,6 @@ declare class Modifier2 {
6112
6119
  * @param shapes the shape array
6113
6120
  */
6114
6121
  static GetIntegralTextShapes(tg: TGLight, g2d: Graphics2D, shapes: Array<Shape2>): void;
6115
- private static switchDirection;
6116
6122
  /**
6117
6123
  * Displays the modifiers to a Graphics2D from a BufferedImage
6118
6124
  *
@@ -6552,6 +6558,7 @@ export declare class RendererUtilities {
6552
6558
  * @return
6553
6559
  */
6554
6560
  static getColorFromHexString(hexValue: string): Color | null;
6561
+ static getRecommendedTextOutlineWidth(): number;
6555
6562
  /**
6556
6563
  * For Renderer Use Only
6557
6564
  * Assumes a fresh SVG String from the SVGLookup with its default values