12 lines
383 B
Python
12 lines
383 B
Python
|
|
from typing import Any, TextIO, Iterable
|
||
|
|
from .layouts import Modelspace, BlockRecords
|
||
|
|
|
||
|
|
class Drawing:
|
||
|
|
blocks: BlockRecords
|
||
|
|
@property
|
||
|
|
def layers(self) -> Iterable[Any]: ...
|
||
|
|
def modelspace(self) -> Modelspace: ...
|
||
|
|
def write(self, stream: TextIO) -> None: ...
|
||
|
|
|
||
|
|
def new(version: str = ..., setup: bool = ...) -> Drawing: ...
|
||
|
|
def read(stream: TextIO) -> Drawing: ...
|