vivid v0.2.1 Vivid.Transformable protocol

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

Summary

Functions

Transform all of a shape’s points using fun

Types

t()
t() :: term

Functions

transform(shape, fun)
transform(Vivid.Shape.t, function) :: Vivid.Shape.t

Transform all of a shape’s points using fun.