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.
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. |
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java