GraphicsState
Overview
GraphicsState is a class in Aspose.Page FOSS for Python.
Tracks current graphics state parameters.
This class provides 1 method for working with GraphicsState objects in Python programs.
Available methods include: clone.
All public members are accessible to any Python application after installing the Aspose.Page FOSS for Python package.
Properties: char_spacing, clip_path, ctm, current_color_components, current_color_space, current_path, and 22 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ctm | tuple[float, float, float, float, float, float] | Read | Gets the ctm. |
line_width | float | Read | Gets the line width. |
line_cap | int | Read | Gets the line cap. |
line_join | int | Read | Gets the line join. |
miter_limit | float | Read | Gets the miter limit. |
dash | tuple[list[float], float] | Read | Gets the dash. |
flatness | float | Read | Gets the flatness. |
current_path | Path | Read | Gets the current path. |
current_point | tuple[float, float] | None | Read | Gets the current point. |
subpath_start | tuple[float, float] | None | Read | Gets the subpath start. |
clip_path | Path | None | Read | Gets the clip path. |
stroke_paint | Paint | Read | Gets the stroke paint. |
fill_paint | Paint | Read | Gets the fill paint. |
image_interpolate | bool | Read | Gets the image interpolate. |
text_matrix | tuple[float, float, float, float, float, float] | Read | Gets the text matrix. |
text_line_matrix | tuple[float, float, float, float, float, float] | Read | Gets the text line matrix. |
font | FontResource | None | Read | Gets the font. |
font_size | float | Read | Gets the font size. |
char_spacing | float | Read | Gets the char spacing. |
word_spacing | float | Read | Gets the word spacing. |
text_leading | float | Read | Gets the text leading. |
text_rise | float | Read | Gets the text rise. |
type3_char_width | tuple[float, float] | None | Read | Gets the type3 char width. |
type3_cache_bbox | tuple[float, float, float, float] | None | Read | Gets the type3 cache bbox. |
current_color_space | ColorSpace | Read | Gets the current color space. |
current_color_components | tuple[float, ...] | Read | Gets the current color components. |
current_pattern | PsPattern | None | Read | Gets the current pattern. |
overprint | bool | Read | Gets the overprint. |
Methods
| Signature | Description |
|---|---|
clone() → "GraphicsState" |