DeltaInspector
ภาพรวม
DeltaInspector เป็นคลาสใน Aspose.Font FOSS สําหรับ Python.
DeltaInspector สามารถวิเคราะห์ตัวแปร-อักษรเดลต้าอย่างละเอียด โดยสร้างวัตถุ GlyphDeltaReport และ TextDeltaReport ที่แสดงให้เห็นถึงการเปลี่ยนแปลงสื่อประชานิยมในทุกฉาก.
หมวดนี้ให้ 8 วิธีในการทํางานกับวัตถุ DeltaInspector ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: build_delta_comparison_sheet, build_delta_sheet, build_delta_text_comparison_sheet, build_delta_text_sheet, compare_variable_glyph, compare_variable_text, inspect_variable_glyph, inspect_variable_text. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python.
วิธีการ
| Signature | คําอธิบาย |
|---|---|
| `inspect_variable_glyph(font, glyph_id: int | None, codepoint: int |
| `build_delta_sheet(font, glyph_id: int | None, codepoint: int |
| `compare_variable_glyph(font, glyph_id: int | None, codepoint: int |
| `inspect_variable_text(font, text: str, coordinates: dict[str, float] | None, instance_name: str |
| `compare_variable_text(font, text: str, before_coordinates: dict[str, float] | None, after_coordinates: dict[str, float] |
| `build_delta_text_sheet(font, text: str, coordinates: dict[str, float] | None, instance_name: str |
| `build_delta_text_comparison_sheet(font, text: str, before_coordinates: dict[str, float] | None, after_coordinates: dict[str, float] |
| `build_delta_comparison_sheet(font, glyph_id: int | None, codepoint: int |