Style Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. Style
- com.
public class Style
An object representing the style of the text line.
Constructor Summary
Constructor | Description | |
---|---|---|
Style() |
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
Text |
name()
Get the name value. |
Style |
withConfidence(double confidence)
Set the confidence value. |
Style |
withName(TextStyle name)
Set the name value. |
Methods inherited from java.lang.Object
Constructor Details
Style
public Style()
Method Details
confidence
public double confidence()
Get the confidence value.
Returns:
the confidence value
name
public TextStyle name()
Get the name value.
Returns:
the name value
withConfidence
public Style withConfidence(double confidence)
Set the confidence value.
Parameters:
confidence
- the confidence value to set
Returns:
the Style object itself.
withName
public Style withName(TextStyle name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the Style object itself.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.