SmartInstancer
Overview
SmartInstancer यह एक क्लास है Aspose.Font FOSS के लिए Python।.
SmartInstancer.instantiate(कोर्डिनेट, instance_name, naming_strategy, family_suffix, legacy_family_nam, typographic_Family-nam , legation_style_nom, tipographic _style-name , stat_policy) एक TtfFont वस्तु को वापस करता है जो परिवर्तनीय फ़ॉन्ट का एक स्थिर उदाहरण प्रतिनिधित्व करता था।.
इस कक्षा में पायथन प्रोग्रामों में SmartInstancer वस्तुओं के साथ काम करने के लिए 32 तरीके प्रदान किए जाते हैं।. उपलब्ध तरीकों में शामिल हैं: __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,और 20 अतिरिक्त तरीके।. सभी सार्वजनिक सदस्य किसी भी Python अनुप्रयोग के लिए उपलब्ध हैं Aspose.Font FOSS को स्थापित करने के बाद Python पैकेज।. संपत्ति : axes, default_coordinates, font, named_instances.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
font | "TtfFont" | Read | फ़ॉन्ट को मिला।. |
axes | `` | Read | आश्रय प्राप्त करें।. |
named_instances | `` | Read | नामित मामलों को प्राप्त करें।. |
default_coordinates | dict[str, float] | Read | डिफ़ॉल्ट कोडों का उपयोग करें।. |
Methods
| Signature | Description |
|---|---|
__init__(font: "TtfFont") | Calls इंदिरा गांधी इस उदाहरण के लिए।. |
suggest_axis_values(axis_tag: str, include_default: bool, include_bounds: bool) → list[float] | एक एक्स के लिए अनुशंसित फ्लोट मूल्य वापसी, वैकल्पिक रूप से डिफ़ॉल्ट और सीमाओं सहित |
| `resolve_axis_grid(axis_tag: str, values: list[float | str] |
| `resolve(coordinates: dict[str, float | str] |
| `instantiate(coordinates: dict[str, float | str] |
| `preview_naming_policy(coordinates: dict[str, float | str] |
| `instantiate_named(name: str, coordinates: dict[str, float | str] |
| `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, float | str] |
| `build_web_bundles(names: list[str] | tuple[str, …] |
| `build_axis_grid_web_bundles(axis_tag: str, values: list[float | str] |
| `build_axis_grid_web_family_package(axis_tag: str, values: list[float | str] |
| `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: int | None, codepoint: int |
| `build_delta_sheet(glyph_id: int | None, codepoint: int |
| `inspect_delta_text(text: str, coordinates: dict[str, float] | None, instance_name: str |
| `compare_delta_glyph(glyph_id: int | None, 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: int | None, codepoint: int |