Datasets:

Modalities:
Image
Text
Formats:
text
Size:
< 1K
Libraries:
Datasets
License:
File size: 963 Bytes
d381118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Explicitly setting `__all__` is necessary for type inference engines
# to know which symbols are exported. See
# https://peps.python.org/pep-0484/#stub-files

__all__ = [
    'line',
    'line_aa',
    'line_nd',
    'bezier_curve',
    'polygon',
    'polygon_perimeter',
    'ellipse',
    'ellipse_perimeter',
    'ellipsoid',
    'ellipsoid_stats',
    'circle_perimeter',
    'circle_perimeter_aa',
    'disk',
    'set_color',
    'random_shapes',
    'rectangle',
    'rectangle_perimeter',
    'polygon2mask',
]

from .draw3d import ellipsoid, ellipsoid_stats
from ._draw import _bezier_segment
from ._random_shapes import random_shapes
from ._polygon2mask import polygon2mask
from .draw_nd import line_nd
from .draw import (
    ellipse,
    set_color,
    polygon_perimeter,
    line,
    line_aa,
    polygon,
    ellipse_perimeter,
    circle_perimeter,
    circle_perimeter_aa,
    disk,
    bezier_curve,
    rectangle,
    rectangle_perimeter,
)