reanimate-0.3.3.0: Animation library based on SVGs.

Safe HaskellNone
LanguageHaskell2010

Reanimate.PolyShape

Synopsis

Documentation

newtype PolyShape Source #

Shape drawn by continuous line. May have overlap, may be convex.

Constructors

PolyShape 
Instances
Eq PolyShape Source # 
Instance details

Defined in Reanimate.PolyShape

Show PolyShape Source # 
Instance details

Defined in Reanimate.PolyShape

plDecompose :: [PolyShape] -> [[RPoint]] Source #

Deconstruct a polyshape into non-intersecting, convex polygons.

plDecompose' :: Double -> [PolyShape] -> [[RPoint]] Source #

Deconstruct a polyshape into non-intersecting, convex polygons.