VectorPath
from noon import VectorPath
Source-derived class. Host availability is not inferred from this listing. See reference scope.
Bases: object. Declared members follow; inherited and dynamically attached members are not expanded.
Renderer-independent vector path command builder.
VectorPath.__init__
VectorPath.__init__(self) -> None
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: None
No docstring declared here. Consult the source and host reference.
VectorPath.move_to
VectorPath.move_to(self, to: tuple[float, float]) -> VectorPath
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
to | positional or keyword | tuple[float, float] | No default |
Return annotation: VectorPath
No docstring declared here. Consult the source and host reference.
VectorPath.line_to
VectorPath.line_to(self, to: tuple[float, float]) -> VectorPath
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
to | positional or keyword | tuple[float, float] | No default |
Return annotation: VectorPath
No docstring declared here. Consult the source and host reference.
VectorPath.quadratic_to
VectorPath.quadratic_to(self, control: tuple[float, float], to: tuple[float, float]) -> VectorPath
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
control | positional or keyword | tuple[float, float] | No default |
to | positional or keyword | tuple[float, float] | No default |
Return annotation: VectorPath
No docstring declared here. Consult the source and host reference.
VectorPath.cubic_to
VectorPath.cubic_to(self, control1: tuple[float, float], control2: tuple[float, float], to: tuple[float, float]) -> VectorPath
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
control1 | positional or keyword | tuple[float, float] | No default |
control2 | positional or keyword | tuple[float, float] | No default |
to | positional or keyword | tuple[float, float] | No default |
Return annotation: VectorPath
No docstring declared here. Consult the source and host reference.
VectorPath.close
VectorPath.close(self) -> VectorPath
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: VectorPath
No docstring declared here. Consult the source and host reference.
VectorPath.to_ir
VectorPath.to_ir(self) -> dict[str, Any]
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: dict[str, Any]
No docstring declared here. Consult the source and host reference.