GraphicsState
Overzicht
GraphicsState is een klasse in Aspose.Page FOSS voor Python.
Volgt de huidige grafische statusparameters.
Deze klasse biedt 1 methode voor het werken met GraphicsState objecten in Python programma’s. Beschikbare methoden omvatten: clone. Alle publieke leden zijn toegankelijk voor elke Python applicatie na het installeren van het Aspose.Page FOSS voor Python pakket. Eigenschappen: char_spacing, clip_path, ctm, current_color_components, current_color_space, current_path, en nog 22.
Eigenschappen
| Naam | Type | Toegang | Beschrijving |
|---|---|---|---|
ctm | tuple[float, float, float, float, float, float] | Lezen/schrijven | Haalt de ctm op of stelt deze in. |
line_width | float | Lezen/schrijven | Haalt de lijndikte op of stelt deze in. |
line_cap | int | Lezen/schrijven | Haalt of stelt de lijnkap in. |
line_join | int | Lezen/schrijven | Haalt de lijnverbinding op of stelt deze in. |
miter_limit | float | Lezen/schrijven | Haalt de miterlimiet op of stelt deze in. |
dash | tuple[list[float], float] | Lezen/schrijven | Haalt of stelt de dash in. |
flatness | float | Lezen/schrijven | Geeft of stelt de vlakheid in. |
current_path | Path | Lezen/schrijven | Haalt het huidige pad op of stelt het in. |
current_point | `tuple[float, float] | None` | Lezen/schrijven |
subpath_start | `tuple[float, float] | None` | Lezen/schrijven |
clip_path | `Path | None` | Lezen/schrijven |
stroke_paint | Paint | Lezen/schrijven | Geeft of stelt de stroke paint in. |
fill_paint | Paint | Lezen/schrijven | Haalt of stelt de vulverf in. |
image_interpolate | bool | Lezen/schrijven | Haalt of stelt de image interpolate in. |
text_matrix | tuple[float, float, float, float, float, float] | Lezen/schrijven | Haalt de tekstmatrix op of stelt deze in. |
text_line_matrix | tuple[float, float, float, float, float, float] | Lezen/schrijven | Haalt op of stelt de tekstlijnmatrix in. |
font | `FontResource | None` | Lezen/schrijven |
font_size | float | Lezen/schrijven | Haalt de lettergrootte op of stelt deze in. |
char_spacing | float | Lezen/schrijven | Haalt of stelt de tekenafstand in. |
word_spacing | float | Lezen/schrijven | Haalt of stelt de woordspatiëring in. |
text_leading | float | Lezen/schrijven | Haalt of stelt de regelafstand van de tekst in. |
text_rise | float | Lezen/schrijven | Haalt de tekststijging op of stelt deze in. |
type3_char_width | `tuple[float, float] | None` | Lezen/schrijven |
type3_cache_bbox | `tuple[float, float, float, float] | None` | Lezen/schrijven |
current_color_space | ColorSpace | Lezen/schrijven | Haalt of stelt de huidige kleurruimte in. |
current_color_components | tuple[float, ...] | Lezen/schrijven | Haalt of stelt de huidige kleurcomponenten in. |
current_pattern | `PsPattern | None` | Lezen/schrijven |
overprint | bool | Lezen/schrijven | Haalt of stelt de overdruk in. |
Methoden
| Handtekening | Beschrijving |
|---|---|
clone() → "GraphicsState" |