@armyc2.c5isr.renderer/mil-sym-ts-web 2.2.3 → 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
@@ -4008,13 +4008,6 @@ export declare class RendererSettings {
4008
4008
  * Outline width of 4 is recommended.
4009
4009
  */
4010
4010
  static readonly TextBackgroundMethod_OUTLINE: int;
4011
- /**
4012
- * A different approach for outline which is quicker and seems to use
4013
- * less memory. Also, you may do well with a lower outline thickness setting
4014
- * compared to the regular outlining approach. Outline Width of 1 is
4015
- * recommended.
4016
- */
4017
- static readonly TextBackgroundMethod_OUTLINE_QUICK: int;
4018
4011
  /**
4019
4012
  * Value from 0 to 255. The closer to 0 the lighter the text color has to be
4020
4013
  * to have the outline be black. Default value is 160.
@@ -4162,7 +4155,6 @@ export declare class RendererSettings {
4162
4155
  * the outline will be this many pixels wide.
4163
4156
  *
4164
4157
  * @param width
4165
- * @deprecated - controlled within the renderer
4166
4158
  */
4167
4159
  /**
4168
4160
  * if RenderSettings.TextBackgroundMethod_OUTLINE is used,
@@ -4862,10 +4854,10 @@ export declare class SymbolID {
4862
4854
  /**
4863
4855
  * Set Sector 1 Modifier at positions 17-18.
4864
4856
  * @param symbolID 30 Character string
4865
- * @param mod1 number
4857
+ * @param mod1 number 0-255 or string "00" to "FF"
4866
4858
  * @return string
4867
4859
  */
4868
- static setModifier1(symbolID: string, mod1: number): string;
4860
+ static setModifier1(symbolID: string, mod1: number | string): string;
4869
4861
  /**
4870
4862
  * Get Common Sector 1 Modifier from position 21.
4871
4863
  * @param symbolID 30 Character string
@@ -4888,10 +4880,10 @@ export declare class SymbolID {
4888
4880
  /**
4889
4881
  * Set Sector 2 Modifier at positions 17-18.
4890
4882
  * @param symbolID 30 Character string
4891
- * @param mod1 number
4883
+ * @param mod2 number 0-255 or string "00" to "FF"
4892
4884
  * @return string
4893
4885
  */
4894
- static setModifier2(symbolID: string, mod1: number): string;
4886
+ static setModifier2(symbolID: string, mod2: number): string;
4895
4887
  /**
4896
4888
  * Get Common Sector 2 Modifier from position 22.
4897
4889
  * @param symbolID 30 Character string
@@ -6566,6 +6558,7 @@ export declare class RendererUtilities {
6566
6558
  * @return
6567
6559
  */
6568
6560
  static getColorFromHexString(hexValue: string): Color | null;
6561
+ static getRecommendedTextOutlineWidth(): number;
6569
6562
  /**
6570
6563
  * For Renderer Use Only
6571
6564
  * Assumes a fresh SVG String from the SVGLookup with its default values