forked from matplotlib/matplotlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhatch.pyi
More file actions
68 lines (55 loc) · 2.05 KB
/
hatch.pyi
File metadata and controls
68 lines (55 loc) · 2.05 KB
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
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: ...