render.draw_profile
render.draw_profile(
ax,
profile,
camera,
resolution,
color='#d9ff57',
vertex_color='#ff8167',
linewidth=1.6,
vertex_size=28.0,
)
Draw a PolygonProfile: closed edge loop plus vertex handles.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| ax | Matplotlib axes already showing the rendered image. | required | |
| profile | :class:~cadjoint.construction.sketch.PolygonProfile. |
required | |
| camera | Camera | Camera the image was rendered with. | required |
| resolution | tuple[int, int] | (height, width) of the rendered image. | required |
| color | str | Edge color. | '#d9ff57' |
| vertex_color | str | Vertex handle color. | '#ff8167' |
| linewidth | float | Edge line width. | 1.6 |
| vertex_size | float | Vertex marker area (matplotlib scatter s). |
28.0 |