IFontMorseDecoder

public interface IFontMorseDecoder

Declares functionality to decode Morse code into glyphs of the specified font.

Methods

MethodDescription
decode(String morseText, IFont font)Deciphers Morse code into glyphs of the specified font.
decode(String morseText, IFont font, MorseAlphabets alphabet)Deciphers Morse code into glyphs of the specified font.
decode(String morseText, IFont font, MorseAlphabets alphabet, char inputSeparator)Deciphers Morse code into glyphs of the specified font.
decode(String morseText, IFont font, MorseAlphabets alphabet, char inputSeparator, char outputSeparator)Deciphers Morse code into glyphs of the specified font.
decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth)Deciphers Morse code and draws result in PNG-format.
decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth, MorseAlphabets alphabet)Deciphers Morse code and draws result in PNG-format.
decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth, MorseAlphabets alphabet, char inputSeparator)Deciphers Morse code and draws result in PNG-format.
decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth, MorseAlphabets alphabet, char inputSeparator, char outputSeparator)Deciphers Morse code and draws result in PNG-format.

decode(String morseText, IFont font)

public abstract GlyphId[] decode(String morseText, IFont font)

Deciphers Morse code into glyphs of the specified font.

Parameters:

ParameterTypeDescription
morseTextjava.lang.StringText encoded by Morse code, i.e. text like “… — …"(SOS).
fontIFontFont to take glyphs related to decoded text from.

Returns: com.aspose.font.GlyphId[] - Glyphs (glyph identifiers) related to decoded text.

decode(String morseText, IFont font, MorseAlphabets alphabet)

public abstract GlyphId[] decode(String morseText, IFont font, MorseAlphabets alphabet)

Deciphers Morse code into glyphs of the specified font.

Parameters:

ParameterTypeDescription
morseTextjava.lang.StringText encoded by Morse code, i.e. text like “… — …"(SOS).
fontIFontFont to take glyphs related to decoded text from.
alphabetMorseAlphabetsAlphabet of Morse code.

Returns: com.aspose.font.GlyphId[] - Glyphs (glyph identifiers) related to decoded text.

decode(String morseText, IFont font, MorseAlphabets alphabet, char inputSeparator)

public abstract GlyphId[] decode(String morseText, IFont font, MorseAlphabets alphabet, char inputSeparator)

Deciphers Morse code into glyphs of the specified font.

Parameters:

ParameterTypeDescription
morseTextjava.lang.StringText encoded by Morse code, i.e. text like “… — …"(SOS).
fontIFontFont to take glyphs related to decoded text from.
alphabetMorseAlphabetsAlphabet of Morse code.
inputSeparatorcharSymbol used to separate words in encoded text.

Returns: com.aspose.font.GlyphId[] - Glyphs (glyph identifiers) related to decoded text.

decode(String morseText, IFont font, MorseAlphabets alphabet, char inputSeparator, char outputSeparator)

public abstract GlyphId[] decode(String morseText, IFont font, MorseAlphabets alphabet, char inputSeparator, char outputSeparator)

Deciphers Morse code into glyphs of the specified font.

Parameters:

ParameterTypeDescription
morseTextjava.lang.StringText encoded by Morse code, i.e. text like “… — …"(SOS).
fontIFontFont to take glyphs related to decoded text from.
alphabetMorseAlphabetsAlphabet of Morse code.
inputSeparatorcharSymbol used to separate words in encoded text.
outputSeparatorcharSymbol used to separate words in decoded text.

Returns: com.aspose.font.GlyphId[] - Glyphs (glyph identifiers) related to decoded text.

decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth)

public abstract InputStream decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth)

Deciphers Morse code and draws result in PNG-format.

Parameters:

ParameterTypeDescription
morseTextjava.lang.StringText encoded by Morse code, i.e. text like “… — …"(SOS).
fontIFontFont to take glyphs related to decoded text from.
fontSizedoubleFont size.
lineSpacingTypeLineSpacingTypeType of line spacing. Number of pixels or percent of font height.
lineSpacingValueintValue of line spacing.
maxWidthintMax width in pixels for image.

Returns: java.io.InputStream - Decoded text in PNG-format as stream of bytes.

decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth, MorseAlphabets alphabet)

public abstract InputStream decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth, MorseAlphabets alphabet)

Deciphers Morse code and draws result in PNG-format.

Parameters:

ParameterTypeDescription
morseTextjava.lang.StringText encoded by Morse code, i.e. text like “… — …"(SOS).
fontIFontFont to take glyphs related to decoded text from.
fontSizedoubleFont size.
lineSpacingTypeLineSpacingTypeType of line spacing. Number of pixels or percent of font height.
lineSpacingValueintValue of line spacing.
maxWidthintMax width in pixels for image.
alphabetMorseAlphabetsAlphabet of Morse code.

Returns: java.io.InputStream - Decoded text in PNG-format as stream of bytes.

decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth, MorseAlphabets alphabet, char inputSeparator)

public abstract InputStream decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth, MorseAlphabets alphabet, char inputSeparator)

Deciphers Morse code and draws result in PNG-format.

Parameters:

ParameterTypeDescription
morseTextjava.lang.StringText encoded by Morse code, i.e. text like “… — …"(SOS).
fontIFontFont to take glyphs related to decoded text from.
fontSizedoubleFont size.
lineSpacingTypeLineSpacingTypeType of line spacing. Number of pixels or percent of font height.
lineSpacingValueintValue of line spacing.
maxWidthintMax width in pixels for image.
alphabetMorseAlphabetsAlphabet of Morse code.
inputSeparatorcharSymbol used to separate words in encoded text.

Returns: java.io.InputStream - Decoded text in PNG-format as stream of bytes.

decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth, MorseAlphabets alphabet, char inputSeparator, char outputSeparator)

public abstract InputStream decode(String morseText, IFont font, double fontSize, RenderingUtils.LineSpacingType lineSpacingType, int lineSpacingValue, int maxWidth, MorseAlphabets alphabet, char inputSeparator, char outputSeparator)

Deciphers Morse code and draws result in PNG-format.

Parameters:

ParameterTypeDescription
morseTextjava.lang.StringText encoded by Morse code, i.e. text like “… — …"(SOS).
fontIFontFont to take glyphs related to decoded text from.
fontSizedoubleFont size.
lineSpacingTypeLineSpacingTypeType of line spacing. Number of pixels or percent of font height.
lineSpacingValueintValue of line spacing.
maxWidthintMax width in pixels for image.
alphabetMorseAlphabetsAlphabet of Morse code.
inputSeparatorcharSymbol used to separate words in encoded text.
outputSeparatorcharSymbol used to separate words in decoded text.

Returns: java.io.InputStream - Decoded text in PNG-format as stream of bytes.