view stubs/PIL/GimpGradientFile.pyi @ 2224:0dd05e9d4ae7

ran into this line- maybe it is not NotImplemented after all?
author drewp@bigasterisk.com
date Tue, 23 May 2023 23:43:07 -0700
parents 3b2255e3576d
children
line wrap: on
line source

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

from typing import Any

EPSILON: float

def linear(middle: Any, pos: Any): ...
def curved(middle: Any, pos: Any): ...
def sine(middle: Any, pos: Any): ...
def sphere_increasing(middle: Any, pos: Any): ...
def sphere_decreasing(middle: Any, pos: Any): ...

SEGMENTS: Any

class GradientFile:
    gradient: Any = ...
    def getpalette(self, entries: int = ...): ...

class GimpGradientFile(GradientFile):
    gradient: Any = ...
    def __init__(self, fp: Any) -> None: ...