vivid v0.4.2 Vivid.Transformable protocol View Source

This protocol is used to apply point transformations to a shape.

Link to this section Summary

Functions

Transform all of a shape’s points using fun

Link to this section Types

Link to this section Functions

Link to this function transform(shape, fun) View Source
transform(Vivid.Shape.t, function) :: Vivid.Shape.t

Transform all of a shape’s points using fun.