2026-02-16 20:48:26 -08:00
|
|
|
from typing import Any
|
|
|
|
|
from collections.abc import Iterator, Sequence, Iterable
|
2026-02-16 18:04:16 -08:00
|
|
|
from .entities import DXFEntity
|
|
|
|
|
|
|
|
|
|
class BaseLayout:
|
|
|
|
|
def __iter__(self) -> Iterator[DXFEntity]: ...
|
|
|
|
|
def add_lwpolyline(self, points: Iterable[Sequence[float]], dxfattribs: dict[str, Any] = ...) -> Any: ...
|
|
|
|
|
def add_text(self, text: str, dxfattribs: dict[str, Any] = ...) -> Any: ...
|
|
|
|
|
def add_blockref(self, name: str, insert: Any, dxfattribs: dict[str, Any] = ...) -> Any: ...
|
|
|
|
|
|
|
|
|
|
class Modelspace(BaseLayout):
|
|
|
|
|
@property
|
|
|
|
|
def name(self) -> str: ...
|
|
|
|
|
|
|
|
|
|
class BlockLayout(BaseLayout):
|
|
|
|
|
@property
|
|
|
|
|
def name(self) -> str: ...
|
|
|
|
|
|
|
|
|
|
class BlockRecords:
|
|
|
|
|
def new(self, name: str) -> BlockLayout: ...
|
|
|
|
|
def __iter__(self) -> Iterator[BlockLayout]: ...
|