[][src]Module processing::shapes

Modules

arc
cube
draw
ellipse
line
mould
point
quad
rect
triangle

Structs

ShapeVertex

Enums

IndexType

Traits

Shape

A shape is a generic concept, as expressed by the Shape trait here. From the point of view of processing-rs, a shape is anything that has fill and stroke buffer arrays reserved for it on the GPU, has indices that determine whether or not it should be drawn as specified by an element buffer, and may or may not have a a texture attached to it. This concept could be modified and expanded with time, but the details need not concern the average user. All of the standard Processing shapes are provided in this module and they all already implement the Shape trait.