view stubs/PIL/ImageDraw2.pyi @ 1947:3b2255e3576d

big stubgen run for PIL, moviepy, rx Ignore-this: 349c755d8d70fdd1ff5711bde41f1dcb
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 05 Jun 2019 23:14:49 +0000
parents
children
line wrap: on
line source

# Stubs for PIL.ImageDraw2 (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any, Optional

class Pen:
    color: Any = ...
    width: Any = ...
    def __init__(self, color: Any, width: int = ..., opacity: int = ...) -> None: ...

class Brush:
    color: Any = ...
    def __init__(self, color: Any, opacity: int = ...) -> None: ...

class Font:
    color: Any = ...
    font: Any = ...
    def __init__(self, color: Any, file: Any, size: int = ...) -> None: ...

class Draw:
    draw: Any = ...
    image: Any = ...
    transform: Any = ...
    def __init__(self, image: Any, size: Optional[Any] = ..., color: Optional[Any] = ...) -> None: ...
    def flush(self): ...
    def render(self, op: Any, xy: Any, pen: Any, brush: Optional[Any] = ...) -> None: ...
    def settransform(self, offset: Any) -> None: ...
    def arc(self, xy: Any, start: Any, end: Any, *options: Any) -> None: ...
    def chord(self, xy: Any, start: Any, end: Any, *options: Any) -> None: ...
    def ellipse(self, xy: Any, *options: Any) -> None: ...
    def line(self, xy: Any, *options: Any) -> None: ...
    def pieslice(self, xy: Any, start: Any, end: Any, *options: Any) -> None: ...
    def polygon(self, xy: Any, *options: Any) -> None: ...
    def rectangle(self, xy: Any, *options: Any) -> None: ...
    def symbol(self, xy: Any, symbol: Any, *options: Any) -> None: ...
    def text(self, xy: Any, text: Any, font: Any) -> None: ...
    def textsize(self, text: Any, font: Any): ...