View Source Vivid.Transformable protocol (vivid v0.4.4)
This protocol is used to apply point transformations to a shape.
Summary
Functions
Transform all of a shape's points using fun
.
Types
@type t() :: term()
All the types that implement this protocol.
Functions
@spec transform(Vivid.Shape.t(), function()) :: Vivid.Shape.t()
Transform all of a shape's points using fun
.