WebFontBundle
Resumo geral
WebFontBundle é uma classe em Aspose.Font FOSS para Python.
WebFontBundle.write_to writes the bundle to a directory and returns the list of written file paths.
Esta classe fornece 1 método para trabalhar com objetos WebFontBundle em programas Python. Os métodos disponíveis incluem: write_to. Todos os membros do público são acessíveis a qualquer aplicação Python após instalar o pacote Aspose.Font FOSS for Python. Propriedades: css, css_filename, family, font_assets, html, html_filename,E mais cinco.
Propriedades
| Nome: | Tipo de veículo: | Acessos | Descrição: |
|---|---|---|---|
family | str | Leitura/Escrita | Arranja ou define a família. |
style | str | Leitura/Escrita | Arranja ou define o estilo. |
css | str | Leitura/Escrita | Obtém ou define o CSS. |
html | str | Leitura/Escrita | Obtém ou define o html. |
css_filename | str | Leitura/Escrita | Obtém ou define o nome do ficheiro CSS. |
html_filename | str | Leitura/Escrita | Obtém ou define o nome do ficheiro html. |
manifest_filename | str | Leitura/Escrita | Obtém ou define o nome do ficheiro manifestado. |
manifest | dict[str, object] | Leitura/Escrita | Obtém ou define o manifesto. |
font_assets | list[WebFontAsset] | Leitura/Escrita | Obtém ou define os recursos de fonte. |
preview_font | `Font | None` | Leitura/Escrita |
review_label | `str | None` | Leitura/Escrita |
Métodos de avaliação
| Assinatura | Descrição: |
|---|---|
| `write_to(directory: str | Path)→list[Path]` |