GraphicsState
Resumo geral
GraphicsState é uma classe em Aspose.Page FOSS para Python.
Rastreia os parâmetros de estado gráfico atual.
Esta classe fornece 1 método para trabalhar com objetos GraphicsState em programas Python. Os métodos disponíveis incluem: clone. Todos os membros do público são acessíveis a qualquer aplicação Python após instalar o pacote Aspose.Page FOSS for Python. Propriedades: char_spacing, clip_path, ctm, current_color_components, current_color_space, current_path, e mais 22 .
Propriedades
| Nome: | Tipo de veículo: | Acessos | Descrição: |
|---|---|---|---|
ctm | tuple[float, float, float, float, float, float] | Leitura/Escrita | Obtém ou define o CTM. |
line_width | float | Leitura/Escrita | Obtém ou define a largura da linha. |
line_cap | int | Leitura/Escrita | Obtém ou fixa o limite. |
line_join | int | Leitura/Escrita | Obtém ou define a linha de união. |
miter_limit | float | Leitura/Escrita | Obtém ou define o limite de mitre. |
dash | tuple[list[float], float] | Leitura/Escrita | - É o que faz. |
flatness | float | Leitura/Escrita | Obtém ou fixa a planitude. |
current_path | Path | Leitura/Escrita | Obtém ou define o caminho atual. |
current_point | `tuple[float, float] | None` | Leitura/Escrita |
subpath_start | `tuple[float, float] | None` | Leitura/Escrita |
clip_path | `Path | None` | Leitura/Escrita |
stroke_paint | Paint | Leitura/Escrita | Arranja ou fixa a pintura. |
fill_paint | Paint | Leitura/Escrita | Arranja ou fixa a tinta de enchimento. |
image_interpolate | bool | Leitura/Escrita | Obtém ou define a interpolação da imagem. |
text_matrix | tuple[float, float, float, float, float, float] | Leitura/Escrita | Obtém ou define a matriz de texto. |
text_line_matrix | tuple[float, float, float, float, float, float] | Leitura/Escrita | Obtém ou define a matriz de linha de texto. |
font | `FontResource | None` | Leitura/Escrita |
font_size | float | Leitura/Escrita | Obtém ou define o tamanho da fonte. |
char_spacing | float | Leitura/Escrita | Obtém ou fixa o espaçamento de carvão. |
word_spacing | float | Leitura/Escrita | Obtém ou define o espaço entre as palavras. |
text_leading | float | Leitura/Escrita | Obtém ou define o texto em primeiro lugar. |
text_rise | float | Leitura/Escrita | Obtém ou define o texto de aumento. |
type3_char_width | `tuple[float, float] | None` | Leitura/Escrita |
type3_cache_bbox | `tuple[float, float, float, float] | None` | Leitura/Escrita |
current_color_space | ColorSpace | Leitura/Escrita | Obtém ou define o espaço de cores atual. |
current_color_components | tuple[float, ...] | Leitura/Escrita | Obtém ou define os componentes de cor atuais. |
current_pattern | `PsPattern | None` | Leitura/Escrita |
overprint | bool | Leitura/Escrita | Obtém ou define a impressão. |
Métodos de avaliação
| Assinatura | Descrição: |
|---|---|
clone() → "GraphicsState" |