13 lines
410 B
Python
13 lines
410 B
Python
from typing import Any, TextIO
|
|
from collections.abc import 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: ...
|