masque/stubs/ezdxf/entities.pyi

18 lines
551 B
Python
Raw Permalink Normal View History

2026-02-16 20:48:26 -08:00
from typing import Any
from collections.abc import Iterable, Sequence
2026-02-16 18:04:16 -08:00
class DXFEntity:
def dxfattribs(self) -> dict[str, Any]: ...
def dxftype(self) -> str: ...
class LWPolyline(DXFEntity):
2026-02-16 20:48:26 -08:00
def get_points(self) -> Iterable[tuple[float, ...]]: ...
2026-02-16 18:04:16 -08:00
class Polyline(DXFEntity):
def points(self) -> Iterable[Any]: ... # has .xyz
class Text(DXFEntity):
2026-02-16 20:48:26 -08:00
def get_placement(self) -> tuple[int, tuple[float, float, float]]: ...
2026-02-16 18:04:16 -08:00
def set_placement(self, p: Sequence[float], align: int = ...) -> Text: ...
class Insert(DXFEntity): ...