- begin
Vector!T begin [@property getter]
The beginning of the figure.
- begin
Vector!T begin [@property setter]
The beginning of the figure.
- end
Vector!T end [@property getter]
- endX
T endX [@property getter]
The end of the figure along the x-axis.
- endY
T endY [@property getter]
The end of the figure along the y-axis.
- height
T height [@property getter]
- height
T height [@property setter]
- length
T length [@property getter]
- length
T length [@property setter]
- radius
T radius [@property getter]
T radius [@property setter]
- vertex
Vector!T vertex [@property getter]
Vector!T vertex [@property setter]
- vertexs
Vector!T[] vertexs [@property getter]
- width
T width [@property getter]
- width
T width [@property setter]
- x
T x [@property getter]
The beginning of the figure along the x-axis.
- x
T x [@property setter]
The beginning of the figure along the x-axis.
- y
T y [@property getter]
The beginning of the figure along the y-axis.
- y
T y [@property setter]
The beginning of the figure along the y-axis.
- Circle
Shape!T Circle(Vector!T pos, T r)
- CircleLine
Shape!T CircleLine(Vector!T pos, T r)
Undocumented in source. Be warned that the author may not have intended to support it.
- Line
Shape!T Line(Vector!T begin, Vector!T end)
Creates a line from two points.
- Multi
Shape!T Multi(Shape!T[] shapes, Vector!T pos)
Collects several figures into one.
- Point
Shape!T Point(Vector!T point)
- Polygon
Shape!T Polygon(Vector!T[] points, Vector!T pos)
Returns the shape as a polygon.
- Rectangle
Shape!T Rectangle(Vector!T begin, Vector!T end)
- RectangleLine
Shape!T RectangleLine(Vector!T begin, Vector!T end)
Create a non-solid rectangle.
- RoundRectangle
Shape!T RoundRectangle(Vector!T begin, Vector!T end, T radius)
Undocumented in source. Be warned that the author may not have intended to support it.
- RoundRectangleLine
Shape!T RoundRectangleLine(Vector!T begin, Vector!T end, T radius)
Undocumented in source. Be warned that the author may not have intended to support it.
- Square
Shape!T Square(Vector!T pos, T len)
- Triangle
Shape!T Triangle(Vector!T[3] vertexs)
- TriangleLine
Shape!T TriangleLine(Vector!T[3] vertexs)
Creates a non-filled triangle.
Figure description structure.