- Declared in: RT.Coordinates.Chamf
Declaration
public Vertex[] VerticesAtEdges(
int x,
int y,
int w,
int h
)Summary
Returns the vertices along the perimeter of this
Chamf assuming that we’re rendering a rectangle
positioned at (
x,
y) and of size
w ×
h
and we want the edges of the rectangle straightened.
Parameters
| int | x |
X-coordinate of the top-left corner of the rectangle. |
| int | y |
Y-coordinate of the top-left corner of the rectangle. |
| int | w |
Width of the rectangle. |
| int | h |
Height of the rectangle. |