File size: 2,098 Bytes
4c85bea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
from matplotlib.path import Path
import numpy as np
from numpy.typing import ArrayLike
class HatchPatternBase: ...
class HorizontalHatch(HatchPatternBase):
num_lines: int
num_vertices: int
def __init__(self, hatch: str, density: int) -> None: ...
def set_vertices_and_codes(self, vertices: ArrayLike, codes: ArrayLike) -> None: ...
class VerticalHatch(HatchPatternBase):
num_lines: int
num_vertices: int
def __init__(self, hatch: str, density: int) -> None: ...
def set_vertices_and_codes(self, vertices: ArrayLike, codes: ArrayLike) -> None: ...
class NorthEastHatch(HatchPatternBase):
num_lines: int
num_vertices: int
def __init__(self, hatch: str, density: int) -> None: ...
def set_vertices_and_codes(self, vertices: ArrayLike, codes: ArrayLike) -> None: ...
class SouthEastHatch(HatchPatternBase):
num_lines: int
num_vertices: int
def __init__(self, hatch: str, density: int) -> None: ...
def set_vertices_and_codes(self, vertices: ArrayLike, codes: ArrayLike) -> None: ...
class Shapes(HatchPatternBase):
filled: bool
num_shapes: int
num_vertices: int
def __init__(self, hatch: str, density: int) -> None: ...
def set_vertices_and_codes(self, vertices: ArrayLike, codes: ArrayLike) -> None: ...
class Circles(Shapes):
shape_vertices: np.ndarray
shape_codes: np.ndarray
def __init__(self, hatch: str, density: int) -> None: ...
class SmallCircles(Circles):
size: float
num_rows: int
def __init__(self, hatch: str, density: int) -> None: ...
class LargeCircles(Circles):
size: float
num_rows: int
def __init__(self, hatch: str, density: int) -> None: ...
class SmallFilledCircles(Circles):
size: float
filled: bool
num_rows: int
def __init__(self, hatch: str, density: int) -> None: ...
class Stars(Shapes):
size: float
filled: bool
num_rows: int
shape_vertices: np.ndarray
shape_codes: np.ndarray
def __init__(self, hatch: str, density: int) -> None: ...
def get_path(hatchpattern: str, density: int = ...) -> Path: ...
|