SmartInstancer

Približni podaci

SmartInstancer je klasa u Aspose.Font FOSS za Python.

SmartInstancer.instantiate(koordinate, instance_name, naming_strategy, family_suffix, legacy_family_names, typographic_familiename, legity_style_nama, tipographic _style _name , stat_policy) vraća objekt TtfFont koji predstavlja statičnu instancciju fontne varijable.

Ova klasa pruža 32 metode za rad s SmartInstancer objektima u Python programima. Postoje i sljedeće metode: __init__, build_axis_grid_previews, build_axis_grid_sheet, build_axis_grid_web_bundles, build_axis_grid_web_family_package, build_comparison_sheet, build_delta_comparison_sheet, build_delta_sheet, build_delta_text_comparison_sheet, build_delta_text_sheet, build_family_review_board, build_family_review_export_package, i 20 dodatnih metoda. Svi javni članovi su dostupni bilo kojoj Python aplikaciji nakon instalacije paketa Aspose.Font FOSS za Python. Ograničenja: axes, default_coordinates, font, named_instances.

Oznake i značajke

Izvršni datum:Iznos:PrihvatOpisivanje
font"TtfFont"Čitaj.Dobiva font.
axes``Čitaj.Dobija sjekire.
named_instances``Čitaj.Dobiva imenovane slučajeve.
default_coordinatesdict[str, float]Čitaj.Dobija podrazumevane koordinate.

Metoda za primjenu

PotpisOpisivanje
__init__(font: "TtfFont")Pozivci init (izvorni broj) Na ovom SmartInstancer primjerka.
suggest_axis_values(axis_tag: str, include_default: bool, include_bounds: bool)list[float]U slučaju da se u skladu s člankom 21. stavkom 1. točkom (a) Uredbe (EU) br. 575/2013 ne primjenjuje na određene vrste proizvoda, utvrđivanje je potrebno kako bi se osigurala njihova usklađenost sa zahtjevima iz članka 3. stavka 2. točke (b).
`resolve_axis_grid(axis_tag: str, values: list[floatstr]
`resolve(coordinates: dict[str, floatstr]
`instantiate(coordinates: dict[str, floatstr]
`preview_naming_policy(coordinates: dict[str, floatstr]
`instantiate_named(name: str, coordinates: dict[str, floatstr]
`resolve_named_many(names: list[str]tuple[str, …]
`instantiate_many(names: list[str]tuple[str, …]
`build_web_bundle(coordinates: dict[str, float]None, instance_name: str
`build_preview(coordinates: dict[str, floatstr]
`build_web_bundles(names: list[str]tuple[str, …]
`build_axis_grid_web_bundles(axis_tag: str, values: list[floatstr]
`build_axis_grid_web_family_package(axis_tag: str, values: list[floatstr]
`build_previews(names: list[str]tuple[str, …]
`build_web_family_package(names: list[str]tuple[str, …]
`build_axis_grid_previews(axis_tag: str, values: list[float]tuple[float, …], secondary_axis_tag: str
`build_axis_grid_sheet(axis_tag: str, values: list[float]tuple[float, …], secondary_axis_tag: str
`build_comparison_sheet(before_coordinates: dict[str, float]None, after_coordinates: dict[str, float]
`build_waterfall_sheet(names: list[str]tuple[str, …]
`build_matrix_sheet(names: list[str]tuple[str, …]
`build_family_review_board(names: list[str]tuple[str, …]
`build_family_review_export_package(names: list[str]tuple[str, …]
`check_compatibility(before_coordinates: dict[str, float]None, after_coordinates: dict[str, float]
`inspect_deltas(glyph_id: intNone, codepoint: int
`build_delta_sheet(glyph_id: intNone, codepoint: int
`inspect_delta_text(text: str, coordinates: dict[str, float]None, instance_name: str
`compare_delta_glyph(glyph_id: intNone, codepoint: int
`compare_delta_text(text: str, before_coordinates: dict[str, float]None, after_coordinates: dict[str, float]
`build_delta_text_sheet(text: str, coordinates: dict[str, float]None, instance_name: str
`build_delta_text_comparison_sheet(text: str, before_coordinates: dict[str, float]None, after_coordinates: dict[str, float]
`build_delta_comparison_sheet(glyph_id: intNone, codepoint: int

Također pogledajte:

 Hrvatski