FontRecommendation
Kind: class
Module/package: models
SDK: pdfdancer-client-python 2.0.0
Represents a font recommendation with similarity score.
Declaration
FontRecommendation(font_name: str, font_type: 'FontType', similarity_score: float) -> None
Members
__init__
__init__(self, font_name: str, font_type: 'FontType', similarity_score: float) -> None
Initialize self. See help(type(self)) for accurate signature.
get_font_name
get_font_name(self) -> str
Get the recommended font name.
get_font_type
get_font_type(self) -> 'FontType'
Get the recommended font type.
get_similarity_score
get_similarity_score(self) -> float
Get the similarity score.