reanimate-0.3.0.0: Animation library based on SVGs.

Reanimate.Svg.LineCommand

Synopsis

# Documentation

type CmdM a = State RPoint a Source #

Constructors

 LineMove RPoint LineBezier [RPoint] LineDraw RPoint LineEnd RPoint
Instances
 Source # Instance detailsDefined in Reanimate.Svg.LineCommand MethodsshowList :: [LineCommand] -> ShowS #

Arguments

 :: Double number between 0 and 1 inclusively, determining what portion of the path to show -> Tree Image representing a path, of which we only want to display a portion determined by the first argument -> Tree

Create an image showing portion of a path. Note that this only affects paths (see mkPath). You can also use this with other SVG shapes if you convert them to path first (see pathify).

Typical usage:

animate \$ \t -> partialSvg t myPath